Skip to content

Commit fe15815

Browse files
committed
fix format
1 parent 664941e commit fe15815

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

awsagentprovider/src/main/java/software/amazon/opentelemetry/javaagent/providers/AwsApplicationSignalsCustomizerProvider.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,11 @@ public class AwsApplicationSignalsCustomizerProvider
104104

105105
private static final String OTEL_METRICS_EXPORTER = "otel.metrics.exporter";
106106
private static final String OTEL_LOGS_EXPORTER = "otel.logs.exporter";
107-
private static final String OTEL_AWS_APPLICATION_SIGNALS_EXPORTER_ENDPOINT = "otel.aws.application.signals.exporter.endpoint";
107+
private static final String OTEL_AWS_APPLICATION_SIGNALS_EXPORTER_ENDPOINT =
108+
"otel.aws.application.signals.exporter.endpoint";
108109
private static final String OTEL_EXPORTER_OTLP_PROTOCOL = "otel.exporter.otlp.protocol";
109-
private static final String OTEL_EXPORTER_OTLP_TRACES_ENDPOINT = "otel.exporter.otlp.traces.endpoint";
110+
private static final String OTEL_EXPORTER_OTLP_TRACES_ENDPOINT =
111+
"otel.exporter.otlp.traces.endpoint";
110112
private static final String OTEL_TRACES_SAMPLER = "otel.traces.sampler";
111113
private static final String OTEL_TRACES_SAMPLER_ARG = "otel.traces.sampler.arg";
112114

@@ -152,7 +154,8 @@ private Map<String, String> customizeProperties(ConfigProperties configProps) {
152154
// Set default values for non Lambda environment
153155
propsOverride.put(OTEL_METRICS_EXPORTER, "none");
154156
propsOverride.put(OTEL_LOGS_EXPORTER, "none");
155-
propsOverride.put(OTEL_AWS_APPLICATION_SIGNALS_EXPORTER_ENDPOINT, "http://localhost:4316/v1/metrics");
157+
propsOverride.put(
158+
OTEL_AWS_APPLICATION_SIGNALS_EXPORTER_ENDPOINT, "http://localhost:4316/v1/metrics");
156159
propsOverride.put(OTEL_EXPORTER_OTLP_PROTOCOL, "http/protobuf");
157160
propsOverride.put(OTEL_EXPORTER_OTLP_TRACES_ENDPOINT, "http://localhost:4316/v1/traces");
158161
propsOverride.put(OTEL_TRACES_SAMPLER, "xray");

0 commit comments

Comments
 (0)