Skip to content

Commit 6afc4b3

Browse files
Fix default property names (#171)
protocol and compression need to be configured for the otlp exporter Signed-off-by: Karsten Schnitter <[email protected]>
1 parent dcb11c1 commit 6afc4b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cf-java-logging-support-opentelemetry-agent-extension/src/main/java/com/sap/hcf/cf/logging/opentelemetry/agent/ext/binding/CloudLoggingBindingPropertiesSupplier.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ private Map<String, String> createEndpointConfiguration(CfService svc) {
105105
properties.put("otel.exporter.otlp.client.certificate", clientCertFile.getAbsolutePath());
106106
properties.put("otel.exporter.otlp.certificate", serverCertFile.getAbsolutePath());
107107

108-
properties.put("otel.exporter.protocol", "grpc");
109-
properties.put("otel.exporter.compression", "gzip");
108+
properties.put("otel.exporter.otlp.protocol", "grpc");
109+
properties.put("otel.exporter.otlp.compression", "gzip");
110110

111111
return properties;
112112
} catch (IOException cause) {

0 commit comments

Comments
 (0)