Skip to content

Commit bf00aaf

Browse files
committed
fix pebkc
1 parent 4a836b2 commit bf00aaf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

custom/src/main/resources/co/elastic/otel/config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ meter_provider:
4747
otlp_http:
4848
endpoint: ${OTEL_EXPORTER_OTLP_ENDPOINT:-http://localhost:4318}/v1/metrics
4949
headers_list: ${OTEL_EXPORTER_OTLP_HEADERS}
50-
temporality_preference: delta
50+
temporality_preference: ${OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE:-delta}
5151
# use the following for grpc
5252
# otlp_grpc:
5353
# endpoint: ${OTEL_EXPORTER_OTLP_ENDPOINT}
@@ -72,4 +72,4 @@ instrumentation/development:
7272
java:
7373
runtime_telemetry:
7474
# emit not-yet stable runtime telemetry metrics which are currently part of semconv for java runtime
75-
emit_experimental_metrics/development: ${OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE:-true}
75+
emit_experimental_metrics/development: ${OTEL_INSTRUMENTATION_RUNTIME_TELEMETRY_EMIT_EXPERIMENTAL_METRICS:-true}

0 commit comments

Comments
 (0)