Configuring Mimir Ruler with Grafana #3270
-
I have been running into some issues trying to manage Alerts in Mimir using Grafana. Overall, my configuration is pretty simple: I'm using the global:
extraEnvFrom:
- secretRef:
name: mimir-minio-secret
minio:
enabled: false
alertmanager:
enabled: true
persistentVolume:
storageClass: nfs-client
ingester:
persistentVolume:
storageClass: nfs-client
store_gateway:
persistentVolume:
storageClass: nfs-client
compactor:
persistentVolume:
storageClass: nfs-client
ruler:
enabled: true
nginx:
ingress:
enabled: true
hosts:
- host: "https://my.host.net"
paths:
- path: /
pathType: Prefix
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/service-upstream: "true"
tls: []
mimir:
structuredConfig:
alertmanager_storage:
backend: s3
s3:
access_key_id: ${MINIO_USERNAME}
bucket_name: mimir-ruler
endpoint: minio.local:9000
insecure: true
secret_access_key: ${MINIO_PASSWORD}
blocks_storage:
s3:
access_key_id: ${MINIO_USERNAME}
bucket_name: mimir-tsdb
endpoint: minio.local:9000
insecure: true
secret_access_key: ${MINIO_PASSWORD}
ruler_storage:
backend: s3
s3:
access_key_id: ${MINIO_USERNAME}
bucket_name: mimir-ruler
endpoint: minio.local:9000
insecure: true
secret_access_key: ${MINIO_PASSWORD}
limits:
max_global_series_per_user: 0
ingestion_rate: 40000
ingestion_burst_size: 100000
out_of_order_time_window:
metaMonitoring:
serviceMonitor:
enabled: true
interval: 1m
scrapeTimeout: 30s
With this configuration, Mimir works fine, and it's a remote-write target for my other Prometheus instances (one in each cluster). Within Grafana, I have configured a Prometheus datasource using this url: Again, I can get data out of Mimir and my dashboards seem to work fine. However, when I go to manage alerts in Grafana (using The ruler components seems to be running correctly: calls to {
"status":"success",
"data":{
"groups":[]
},
"errorType":"",
"error":""} and I had originally thought that I needed to change the I know, with the alert manager, I had to pre-configure my |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
Which Grafana version are you running? Can you try with the latest stable, if you're not running it yet? There were some issues in "old" Grafana versions. |
Beta Was this translation helpful? Give feedback.
Which Grafana version are you running? Can you try with the latest stable, if you're not running it yet? There were some issues in "old" Grafana versions.