File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
aws-opentelemetry-distro/src/amazon/opentelemetry/distro
performance-tests/src/test/java/io/opentelemetry/distros Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 6060OTEL_AWS_APP_SIGNALS_ENABLED = "OTEL_AWS_APP_SIGNALS_ENABLED"
6161OTEL_METRIC_EXPORT_INTERVAL = "OTEL_METRIC_EXPORT_INTERVAL"
6262OTEL_AWS_APP_SIGNALS_EXPORTER_ENDPOINT = "OTEL_AWS_APP_SIGNALS_EXPORTER_ENDPOINT"
63- OTEL_AWS_SMP_EXPORTER_ENDPOINT = "OTEL_AWS_SMP_EXPORTER_ENDPOINT"
6463DEFAULT_METRIC_EXPORT_INTERVAL = 60000.0
6564
6665_logger : Logger = getLogger (__name__ )
@@ -266,10 +265,7 @@ def create_exporter(self):
266265 )
267266 _logger .debug ("AppSignals export protocol: %s" , protocol )
268267
269- app_signals_endpoint = os .environ .get (
270- OTEL_AWS_APP_SIGNALS_EXPORTER_ENDPOINT ,
271- os .environ .get (OTEL_AWS_SMP_EXPORTER_ENDPOINT , "http://localhost:4315" ),
272- )
268+ app_signals_endpoint = os .environ .get (OTEL_AWS_APP_SIGNALS_EXPORTER_ENDPOINT , "http://localhost:4315" )
273269
274270 _logger .debug ("AppSignals export endpoint: %s" , app_signals_endpoint )
275271
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public enum DistroConfig {
2323 Map .of (
2424 "OTEL_AWS_APP_SIGNALS_ENABLED" ,
2525 "true" ,
26- "OTEL_AWS_SMP_EXPORTER_ENDPOINT " ,
26+ "OTEL_AWS_APP_SIGNALS_EXPORTER_ENDPOINT " ,
2727 "http://collector:4317" ,
2828 "OTEL_TRACES_SAMPLER" ,
2929 "always_off" )),
@@ -34,7 +34,7 @@ public enum DistroConfig {
3434 Map .of (
3535 "OTEL_AWS_APP_SIGNALS_ENABLED" ,
3636 "true" ,
37- "OTEL_AWS_SMP_EXPORTER_ENDPOINT " ,
37+ "OTEL_AWS_APP_SIGNALS_EXPORTER_ENDPOINT " ,
3838 "http://collector:4317" ,
3939 "OTEL_TRACES_SAMPLER" ,
4040 "xray" ));
You can’t perform that action at this time.
0 commit comments