From 6f9d760caaa765e725cda6413e82cdbf142ab4ab Mon Sep 17 00:00:00 2001 From: Joe Savage Date: Thu, 23 Nov 2023 12:56:08 -0600 Subject: [PATCH] fixed parameters for example --- example/example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/example.py b/example/example.py index 3895467..0296b29 100644 --- a/example/example.py +++ b/example/example.py @@ -40,7 +40,7 @@ def main() -> int: if __name__ == "__main__": # one-time collection setup -- assumes a collector agent running locally with an http receiver on port 4318 options = TelemetryOptions( - SERVICE_NAME="OpenTelemetry Example", + OTEL_SERVICE_NAME="OpenTelemetry Example", OTEL_EXPORTER_OTLP_ENDPOINT="http://localhost:4318", OTEL_EXPORTER_OTLP_PROTOCOL="http/protobuf", )