Minio 监控

Minio Version: RELEASE.2020-01-16T22-40-29Z

Minio 监控 screenshot 1

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]
Revisions
RevisionDescriptionCreated
MinIO

MinIO

by Grafana Labs
Grafana Labs solution

Easily monitor Minio, a Kubernetes-native high-performance object storage server, with Grafana Cloud's out-of-the-box monitoring solution.

Learn more

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies