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
Copy file name to clipboardExpand all lines: docs/metrics.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,8 @@ It will not be enabled if left blank, unlike some other implementations.
31
31
32
32
You can configure the protocol using the environment variables documented in [standard environment variables](https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/).
33
33
34
+
By default, GRPC is used; to switch to HTTP, set either the `OTEL_EXPORTER_OTLP_PROTOCOL` or `OTEL_EXPORTER_OTLP_METRICS_PROTOCOL` environment variable to `http/protobuf`.
35
+
34
36
The [configuration options](#common) in the controller ConfigMap `metricsTTL`, `modifiers` and `temporality` affect the OpenTelemetry behavior, but the other parameters do not.
35
37
36
38
To use the [OpenTelemetry collector](https://opentelemetry.io/docs/collector/) you can configure it
// NOTE: The OTel SDK default changed from gRPC to http/protobuf. For backwards compatibility,
83
+
// gRPC is preserved as the default in workflows controller, but http/protobuf can be opted-in
84
+
// to by setting the _PROTOCOL env var explicitly.
85
+
// These env vars match the official SDK: https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/#otel_exporter_otlp_metrics_protocol.
0 commit comments