Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exemplars aren't actually enabled in Mimir #50

Closed
hedss opened this issue Nov 30, 2022 · 1 comment · Fixed by #61
Closed

Exemplars aren't actually enabled in Mimir #50

hedss opened this issue Nov 30, 2022 · 1 comment · Fixed by #61

Comments

@hedss
Copy link

hedss commented Nov 30, 2022

In the docs we have a section to explore traces using exemplars: https://github.com/grafana/tns#explore-metrics-to-traces-to-logs

However, we don't actually enable exemplars in the Mimir configuration. You can verify this by deploying the TNS app and dependencies and then attempting to use exemplars, they will be missing from the metrics panels.

Rewriting the running config, adding:

limits:
  max_global_exemplars_per_user: 100000

and then restarting the pod will enable exemplars. This should be added to the config file here: https://github.com/grafana/tns/blob/main/production/mimir/configmap.libsonnet (and potentially the configs used in the Docker Compose setup, have not checked).

See also: https://grafana.com/docs/mimir/latest/operators-guide/use-exemplars/storing-exemplars/#enable-exemplars-globally

@yves-chan
Copy link

Thanks, this worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants