docs: typo (#67062)

This commit is contained in:
David Harris
2023-04-21 16:46:46 +01:00
committed by GitHub
parent 6abd75b69c
commit d02aee2479

View File

@ -33,7 +33,7 @@ tracing = true
> **Note:** Make sure you are using at least grafana-plugin-sdk-go v0.157.0. You can update with `go get -u github.com/grafana/grafana-plugin-sdk-go`. > **Note:** Make sure you are using at least grafana-plugin-sdk-go v0.157.0. You can update with `go get -u github.com/grafana/grafana-plugin-sdk-go`.
When OpenTelemetry tracing is enabled on the main Grafana instance and tracing is enabeld for a plugin, When OpenTelemetry tracing is enabled on the main Grafana instance and tracing is enabled for a plugin,
the OpenTelemetry endpoint address and propagation format will be passed to the plugin during startup, the OpenTelemetry endpoint address and propagation format will be passed to the plugin during startup,
which will be used to configure a global tracer. which will be used to configure a global tracer.
@ -93,9 +93,9 @@ which will be used to configure a global tracer.
If tracing is disabled in Grafana, `backend.DefaultTracer()` returns a no-op tracer. If tracing is disabled in Grafana, `backend.DefaultTracer()` returns a no-op tracer.
### Tracing GRPC calls ### Tracing gRPC calls
A new span is created automatically for each GRPC call (`QueryData`, `CheckHealth`, etc), both on Grafana's side and A new span is created automatically for each gRPC call (`QueryData`, `CheckHealth`, etc), both on Grafana's side and
on the plugin's side. on the plugin's side.
This also injects the trace context into the `context.Context` passed to those methods. This also injects the trace context into the `context.Context` passed to those methods.