Enable exemplars in GEM
You can enable exemplar storage in Grafana Enterprise Metrics and view the resulting data in Grafana. While exemplars can be enabled for all tenants at once or for only specific tenants, we recommend enabling and enforcing limits for exemplars for only specific tenants.
Adjust per tenant exemplar limits via the UI
- Open the Grafana Enterprise Metrics plugin in your Grafana instance.
- In the tenants’ view, select the tenant where you want to adjust the exemplar limit.
- Click the “edit” icon for the
limit max_global_exemplars_per_userparameter to edit the value. We recommend starting with a relatively low number (10,000) and adjusting it if needed.
The new limit takes effect automatically in all GEM components in five (5) minutes.
Enable exemplars globally
- Open the Grafana Enterprise Metrics configuration file.
- In the limits config section, set the
max_global_exemplars_per_uservalue. We recommend starting with a relatively low number (10,000) and adjusting it if needed.
- Restart all GEM components for the changes to effect.
Related Enterprise Metrics resources
Running Prometheus-as-a-service with Grafana Enterprise Metrics
Introducing Grafana Enterprise Metrics (GEM), a simple and scalable Prometheus service that is seamless to use, simple to maintain, and supported by Grafana Labs.
How Robinhood scaled from 100M to 700M time series with Grafana Enterprise Metrics
In this GrafanaCONline session, the Robinhood team tells how GME (GameStop) led to GEM (Grafana Enterprise Metrics).
Benchmarking Grafana Enterprise Metrics for horizontally scaling Prometheus up to 500 million active series
We stress-tested GEM to show how it horizontally scaled. One takeaway: Hardware usage scales linearly up to 500 million active series.