Skip to content

Commit 7b6d067

Browse files
authored
Remove OTEL_AWS_SMP_EXPORTER_ENDPOINT usage (#135)
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent 95dc855 commit 7b6d067

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

aws-opentelemetry-distro/src/amazon/opentelemetry/distro/aws_opentelemetry_configurator.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
OTEL_AWS_APP_SIGNALS_ENABLED = "OTEL_AWS_APP_SIGNALS_ENABLED"
6161
OTEL_METRIC_EXPORT_INTERVAL = "OTEL_METRIC_EXPORT_INTERVAL"
6262
OTEL_AWS_APP_SIGNALS_EXPORTER_ENDPOINT = "OTEL_AWS_APP_SIGNALS_EXPORTER_ENDPOINT"
63-
OTEL_AWS_SMP_EXPORTER_ENDPOINT = "OTEL_AWS_SMP_EXPORTER_ENDPOINT"
6463
DEFAULT_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

performance-tests/src/test/java/io/opentelemetry/distros/DistroConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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"));

0 commit comments

Comments
 (0)