Minio 监控

Dashboard

Minio Version: RELEASE.2020-01-16T22-40-29Z
Last updated: 2 years ago

Start with Grafana Cloud and the new FREE tier. Includes 10K series Prometheus or Graphite Metrics and 50gb Loki Logs

Downloads: 563

Reviews: 0

  • minio-monitor.jpg
    minio-monitor.jpg

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]
Get this dashboard:
12063