Skip to content

mimir grafana dashboards with mixin #2204

Discussion options

You must be logged in to vote

Hi thanks for the tips, So Initially I was not adding mimir in serviceMonitorSelector

prometheusOperator:
  prometheusSpec:
    serviceMonitorSelector:
      matchLabels:
        app.kubernetes.io/instance: mimir

Once I added I am getting metrics now. But problem is I am not getting metrics which come from rules.

I published rules without any change in mixing config with this command:

mimirtool rules load ./operations/mimir-mixin-compiled/rules.yaml --id=fake --address http://127.0.0.1:9090

rule metric example which I am not getting in grafana:

cluster_namespace_job:cortex_distributor_received_samples:rate5m{}


Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@pracucci
Comment options

Comment options

You must be logged in to vote
4 replies
@dhbrojas
Comment options

@krajorama
Comment options

@dhbrojas
Comment options

@ahsan-n
Comment options

Answer selected by dimitarvdimitrov
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants