You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
level.Warn(util_log.Logger).Log("msg", "The mimir-continuous-test binary you are using is deprecated. Please use the Mimir binary module `mimir -target=continuous-test`.")
45
44
46
45
// Setting the environment variable JAEGER_AGENT_HOST enables tracing.
Copy file name to clipboardExpand all lines: docs/sources/mimir/configure/configure-tracing.md
+17-24Lines changed: 17 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,36 +11,29 @@ weight: 100
11
11
12
12
# Configure Grafana Mimir tracing
13
13
14
-
Grafana Mimir uses [Jaeger](https://www.jaegertracing.io/) to implement distributed
15
-
tracing. Jaeger is a valuable tool for troubleshooting the behavior of
16
-
Grafana Mimir in production.
14
+
Distributed tracing is a valuable tool for troubleshooting the behavior of Grafana Mimir in production.
15
+
16
+
Grafana Mimir is transitioning from [Jaeger](https://www.jaegertracing.io/) to [OpenTelemetry](https://opentelemetry.io/docs/languages/go/getting-started/) to implement distributed tracing.
17
+
During this transition, Mimir uses OTel libraries, but performs the configuration using Jaeger environment variables.
17
18
18
19
## Dependencies
19
20
20
-
Set up Jaeger deployment to collect and store traces from Grafana Mimir. A
21
-
deployment includes either the Jaeger all-in-one binary, or a distributed
22
-
system of agents, collectors, and queriers. If you run Grafana Mimir on Kubernetes, refer to [Jaeger
for the full list of environment variables you can configure.
43
-
44
-
Note that you must specify one of `JAEGER_AGENT_HOST` or
45
-
`JAEGER_SAMPLER_MANAGER_HOST_PORT` in each component for Jaeger to be enabled,
46
-
even if you plan to use the default values.
31
+
- The ingester and ruler self-initiate traces. You should have sampling explicitly enabled.
32
+
- You can enable sampling for the distributor and query-frontend in Grafana Mimir or in an upstream service, like a proxy or gateway running in front of Grafana Mimir.
33
+
34
+
To enable sampling in Grafana Mimir components, you can specify either `JAEGER_SAMPLER_MANAGER_HOST_PORT` for remote sampling, or `JAEGER_SAMPLER_TYPE` and `JAEGER_SAMPLER_PARAM` to manually set sampling configuration.
35
+
Refer to [Jaeger Client Go documentation](https://github.com/jaegertracing/jaeger-client-go#environment-variables)for the full list of environment variables you can configure.
36
+
37
+
{{< admonition type="note" >}}
38
+
You must specify one of `JAEGER_AGENT_HOST` or `JAEGER_SAMPLER_MANAGER_HOST_PORT` in each component for Jaeger to be enabled, even if you plan to use the default values.
0 commit comments