Minio 监控
Minio Version: RELEASE.2020-01-16T22-40-29Z
Minio RELEASE.2020-01-16T22-40-29Z版本下的Metrics监控模板。
注意:
Minio默认的的metrics 接口是使用JWT进行认证的,因此在想要采集Metrics数据时,需要指定JWT认证Token或者直接把Prometheus接口设置成public
权限。
# 直接开放metrics接口权限
## 在启动之前增加如下环境变量
MINIO_PROMETHEUS_AUTH_TYPE="public"
# 生成jwt
$ mc admin prometheus generate minio
scrape_configs:
- job_name: minio-job
bearer_token: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJleHAiOjQ3NDAwMzM4MjAsImlzcyI6InByb21ldGhldXMiLCJzdWIiOiJNaW5pb1NvdWwifQ.1QiANgXVCpAPWCdF9EejhH608rZbdCRcHe3RtalC2XnScWtYMk_OG0ih-Z3t4ADb1cnYREdTrQwWscFw6Xvk3Q
metrics_path: /minio/prometheus/metrics
scheme: http
static_configs:
- targets: [minio.bgbiao.top]
Data source config
Collector config:
Upload an updated version of an exported dashboard.json file from Grafana
Revision | Description | Created | |
---|---|---|---|
Download |
MinIO
Easily monitor Minio, a Kubernetes-native high-performance object storage server, with Grafana Cloud's out-of-the-box monitoring solution.
Learn more