mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-13 12:16:54 +00:00
refactor: Delegate otlp_protocol to standard OTLP env variables
This commit is contained in:
6 files changed
+20
-64
No files matched your search
@@ -33,13 +33,13 @@ Requires the `otlp_telemetry` feature, enabled in default builds.
|
||||
```toml
|
||||
[global]
|
||||
allow_otlp_metrics = true
|
||||
otlp_protocol = "http" # or "grpc"
|
||||
```
|
||||
|
||||
Configure the exporter with the standard OpenTelemetry environment variables:
|
||||
Configure the exporter with standard OpenTelemetry environment variables:
|
||||
|
||||
```sh
|
||||
OTEL_EXPORTER_OTLP_ENDPOINT=http://collector:4318
|
||||
OTEL_EXPORTER_OTLP_METRICS_PROTOCOL=http/protobuf # or "grpc"
|
||||
OTEL_METRIC_EXPORT_INTERVAL=15000
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user