Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 0d55552

Browse files
committed
Port
1 parent b745c4c commit 0d55552

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gdi/get-data-in/application/java/instrumentation/instrument-java-application.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ The following example shows how to activate the profiler using the system proper
128128
java -javaagent:./splunk-otel-javaagent.jar \
129129
-Dsplunk.profiler.enabled=true \
130130
-Dsplunk.profiler.memory.enabled=true \
131-
-Dotel.exporter.otlp.endpoint=http(s)://collector:4317 \
131+
-Dotel.exporter.otlp.endpoint=http(s)://collector:4318 \
132132
-Dsplunk.metrics.endpoint=http(s)://collector:4318
133133
-jar <your_application>.jar
134134
@@ -227,7 +227,7 @@ To deploy the Java agent in Kubernetes, follow these steps:
227227
fieldRef:
228228
fieldPath: status.hostIP
229229
- name: OTEL_EXPORTER_OTLP_ENDPOINT
230-
value: "http://$(SPLUNK_OTEL_AGENT):4317"
230+
value: "http://$(SPLUNK_OTEL_AGENT):4318"
231231
- name: OTEL_SERVICE_NAME
232232
value: "<serviceName>"
233233
- name: OTEL_RESOURCE_ATTRIBUTES

gdi/get-data-in/application/java/troubleshooting/common-java-troubleshooting.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ If AlwaysOn Profiling is not working as intended, check the configuration settin
209209
[otel.javaagent 2021-09-28 18:17:04:244 +0000] [main] INFO <snip> - splunk.profiler.recording.duration : 20s
210210
[otel.javaagent 2021-09-28 18:17:04:244 +0000] [main] INFO <snip> - splunk.profiler.keep-files : false
211211
[otel.javaagent 2021-09-28 18:17:04:245 +0000] [main] INFO <snip> - splunk.profiler.logs-endpoint : null
212-
[otel.javaagent 2021-09-28 18:17:04:245 +0000] [main] INFO <snip> - otel.exporter.otlp.endpoint : http://collector:4317
212+
[otel.javaagent 2021-09-28 18:17:04:245 +0000] [main] INFO <snip> - otel.exporter.otlp.endpoint : http://collector:4318
213213
[otel.javaagent 2021-09-28 18:17:04:246 +0000] [main] INFO <snip> - splunk.profiler.period.jdk.threaddump : null
214214
[otel.javaagent 2021-09-28 18:17:04:246 +0000] [main] INFO <snip> - -----------------------
215215

0 commit comments

Comments
 (0)