当前位置:网站首页>Pushgateway installation and Prometheus configuration
Pushgateway installation and Prometheus configuration
2022-07-24 12:07:00 【shy_ snow】
pushgateway amount to Prometheus The transfer station of , The program can actively push data to pushgateway And cache it , wait for Prometheus Pull pushgateway Temporary data in . It can act as an agent when some networks are not direct , And in some cases, the life cycle is too short to wait Prometheus Use in case of pulling pushgateway Temporarily store data as a transfer station .
download pushgateway-1.4.3.linux-amd64.tar.gz Extract to the specified directory
Download address https://github.com/prometheus/pushgateway/releases
tar xzvf pushgateway-1.4.3.linux-amd64.tar.gz
mv pushgateway-1.4.3.linux-amd64 /usr/local/pushgateway
see pushgateway Default port 9091
curl localhost:9091/metrics # visit pushgateway-server:9091/metrics You can see the indicators 
- job_name: pushgateway
honor_labels: true
static_configs:
- targets: ['192.168.129.102:9091']
labels:
instance: pushgateway
service: pushgatewayservice
Can pass Prometheus Web End view http://192.168.129.102:9090/targets Are there any settings in pushgateway Of metrics.
边栏推荐
- 08.01 adjacency matrix
- Dynamic memory management
- Please ask whether Oracle CDC does not support checkpointing. When the task is suspended and restarted during the real-time collection process, is the data changed
- Microsoft SQL Server database language and function usage (XII)
- Database operation through shell script
- L1-064 AI core code valued at 100 million
- A* and JPS
- Convergence rules for 4 * 4 image weights
- 计算两个坐标经纬度之间的距离(5种方式)
- makefile快速使用
猜你喜欢

TypeNameExtractor could not be found

Source code analysis sentry user behavior record implementation process

QT notes - EventFilter event filter

6k+ star, a deep learning code base for Xiaobai! One line of code implements all attention mechanisms!

Use and expansion of fault tolerance and fusing

Linked list - 142. Ring linked list II

Use prometheus+grafana to monitor server performance in real time

【网络空间安全数学基础第9章】有限域

Cgo+gsoap+onvif learning summary: 9. Go and C conduct socket communication and onvif protocol processing

第1章 引言
随机推荐
L1-043 reading room
Day3: branch structure
Common formulas and application scenarios of discrete distribution
Share the typora tool
String -- 344. Reverse string
String - 541. Reverse string II
容错、熔断的使用与扩展
Hash - 1. Sum of two numbers - some people fall in love during the day, some people watch the sea at night, and some people can't do the first question
Hash - 202. Happy number
[I also want to brush through leetcode] 468. Verify the IP address
AcWing 92. 递归实现指数型枚举
CCF 1-2 question answering record (1)
Hash - 18. Sum of four numbers
[rust] rust language foundation | you should quickly get an impression when learning a language
Hash - 349. Intersection of two arrays
一文看懂MES系统能实现企业哪些目标
Detailed explanation of stat function
[Commons beanautils topic] 004 beanautils topic
Linked list - 142. Ring linked list II
一周精彩内容分享(第13期)