Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,13 @@ public static void processConfigs(ConfigContainer configs) throws InvalidConfigE
configs.put(ConfigProperty.AGENT_LOGGING, false);
}

if (configs.containsProperty(ConfigProperty.AGENT_EXPORT_LOGS_ENABLED)) {
logger.warn(
String.format(
"%s is deprecated and noop. Use system property -Dotel.logs.exporter=otlp or environment variable equivalent.",
ConfigProperty.AGENT_EXPORT_LOGS_ENABLED.getEnvironmentVariableKey()));
}

if (configs.containsProperty(ConfigProperty.AGENT_SERVICE_KEY)
&& !((String) configs.get(ConfigProperty.AGENT_SERVICE_KEY)).isEmpty()) {
// Customer access key (UUID)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ private String[] buildCommandline(Path agentJarPath) {
result.add("-Dotel.metric.export.interval=100ms");
result.add("-Dsw.otel.exporter.proxy.host=squid-proxy");
result.add("-Dsw.otel.exporter.proxy.port=3128");
result.add("-Dotel.logs.exporter=otlp");

result.add("-jar");
result.add("/app/spring-petclinic-rest.jar");
Expand Down
Loading