当前位置:网站首页>consul 配置相关
consul 配置相关
2022-06-12 08:57:00 【叱咤少帅(少帅)】
修改 consul 配置
vim tmp.txt
{
"id": "hostname",
"name": "kafka-exporter",
"address": "172.188.143.2",
"port": 9308,
"meta":{
"environment":"prd",
"project":"vms",
"service":"kafka"
},
"checks": [{
"http": "http://172.188.143.2:9308/metrics",
"interval": "5s"
}]
}
重新注册:
# 重新注册
curl -X PUT -d @/tmp/register.json "http://consul.qq.cn/v1/agent/service/register?replace-existing-checks=1"
边栏推荐
- [compilation principle] understand BNF
- Wechat applet image saving function
- Binlog in mysql:
- Chapter V -[bx] and loop instructions
- torch. logical_ And() method
- Jupyter notebook sets the default browser to open with an error syntaxerror: (Unicode error) 'UTF-8' codec can't decode byte 0xd4
- Composition of box model
- 2022.6.11-----leetcode.926
- 43 cas d'analyse du réseau neuronal MATLAB: chapitre 7 régression du réseau RBF - - réalisation de la régression fonctionnelle non linéaire
- POI library update excel picture
猜你喜欢

Can you migrate backwards before the first migration in the south- Can you migrate backwards to before the first migration in South?

Introduction to applet cloud development -- questionnaire evaluation applet practice (7)

Chapter 3 registers (memory access)

ISCSI详解(五)——ISCSI客户端配置实战

第四章-第一个程序

【字符集八】char8_t、char16_t、char32_t、wchar、char

ERROR 1630 (42000): FUNCTION a.avg does not exist. Check the ‘Function Name Parsing and Resolution‘
![[new planning]](/img/8e/0e15e0f3ee08002eaceea1fe8948ec.jpg)
[new planning]

2022 low voltage electrician retraining question bank and online simulation examination

网页中加载二次元3D虚拟主播源码(1:项目介绍和源码)
随机推荐
2022.6.11-----leetcode.926
2022 melting welding and thermal cutting test questions and answers
Unittest测试框架
MySQL - Import / export operation
torch.logical_and()方法
Chapter VI - procedures with multiple segments
Box model border
sql中的Exists用法
128. 最长连续序列-哈希表
The database doesn't know what went wrong
Knee joint
Binlog in mysql:
调整svg宽高
[essence] explain in detail the memory management mechanism in QT
List < string > sort
【字符集七】汉字的宽字符码和多字节码分别是多少
UMI packaging and subcontracting, and compressing to gzip
Priority issues
Audio and video related links
Summary of common character sets