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 | |
| minio.png | 2 years ago | |
使用categraf中inputs.prometheus插件采集MinIO服务指标数据:
开启 MinIO Prometheus访问;
# 启动MinIO服务的时候加入下面的变量:
MINIO_PROMETHEUS_AUTH_TYPE=public
在categraf中的prometheus插件中加入采集配置
cat /opt/categraf/conf/input.prometheus/prometheus.toml
[[instances]]
urls = [
"http://192.168.1.188:9000/minio/v2/metrics/cluster"
]
url_label_key = "instance"
url_label_value = "{{.Host}}"
labels = {job="minio-cluster"}
类似 Grafana 可接入多种数据源,Grafana 擅长可视化,夜莺擅长告警管理
Go SQL Text Python PLSQL other