Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
|
|
2 years ago | |
|---|---|---|
| .. | ||
| README.md | 2 years ago | |
| alerts.png | 2 years ago | |
| dashboard.png | 2 years ago | |
使用categraf中inputs.prometheus插件采集VictoriaMetrics三个服务组件默认暴露的指标数据:
写入模块: vminsert 端口:8480 URI:metrics
查询模块: vmselect 端口:8481 URI:metrics
存储模块: vmstorage 端口:8482 URI:metrics
其中label_key: instance ,label: service 为dashboard中选择变量,制作版本为v1.83.0,已经在1.90.0进行过验证,理论上适配当前1.70.0以上所有版本,指标描述全部补齐,并调整为中文,这个仪表盘为官方推荐的集群仪表盘,一直在持续更新,推荐使用这个;
# vmstorage
[[instances]]
urls = [
"http://127.0.0.1:8482/metrics"
]
url_label_key = "instance"
url_label_value = "{{.Host}}"
labels = {service="vmstorage"}
# vmselect
[[instances]]
urls = [
"http://127.0.0.1:8481/metrics"
]
url_label_key = "instance"
url_label_value = "{{.Host}}"
labels = {service="vmselect"}
# vminsert
[[instances]]
urls = [
"http://127.0.0.1:8480/metrics"
]
url_label_key = "instance"
url_label_value = "{{.Host}}"
labels = {service="vminsert"}
类似 Grafana 可接入多种数据源,Grafana 擅长可视化,夜莺擅长告警管理
Go SQL Text Python PLSQL other