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 60
60
OTEL_AWS_APP_SIGNALS_ENABLED = "OTEL_AWS_APP_SIGNALS_ENABLED"
61
61
OTEL_METRIC_EXPORT_INTERVAL = "OTEL_METRIC_EXPORT_INTERVAL"
62
62
OTEL_AWS_APP_SIGNALS_EXPORTER_ENDPOINT = "OTEL_AWS_APP_SIGNALS_EXPORTER_ENDPOINT"
63
- OTEL_AWS_SMP_EXPORTER_ENDPOINT = "OTEL_AWS_SMP_EXPORTER_ENDPOINT"
64
63
DEFAULT_METRIC_EXPORT_INTERVAL = 60000.0
65
64
66
65
_logger : Logger = getLogger (__name__ )
@@ -266,10 +265,7 @@ def create_exporter(self):
266
265
)
267
266
_logger .debug ("AppSignals export protocol: %s" , protocol )
268
267
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" )
273
269
274
270
_logger .debug ("AppSignals export endpoint: %s" , app_signals_endpoint )
275
271
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public enum DistroConfig {
23
23
Map .of (
24
24
"OTEL_AWS_APP_SIGNALS_ENABLED" ,
25
25
"true" ,
26
- "OTEL_AWS_SMP_EXPORTER_ENDPOINT " ,
26
+ "OTEL_AWS_APP_SIGNALS_EXPORTER_ENDPOINT " ,
27
27
"http://collector:4317" ,
28
28
"OTEL_TRACES_SAMPLER" ,
29
29
"always_off" )),
@@ -34,7 +34,7 @@ public enum DistroConfig {
34
34
Map .of (
35
35
"OTEL_AWS_APP_SIGNALS_ENABLED" ,
36
36
"true" ,
37
- "OTEL_AWS_SMP_EXPORTER_ENDPOINT " ,
37
+ "OTEL_AWS_APP_SIGNALS_EXPORTER_ENDPOINT " ,
38
38
"http://collector:4317" ,
39
39
"OTEL_TRACES_SAMPLER" ,
40
40
"xray" ));
You can’t perform that action at this time.
0 commit comments