Skip to content

Commit f277671

Browse files
authored
fix java resource sampling example (#30553)
1 parent 99a2df0 commit f277671

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en/tracing/trace_pipeline/ingestion_mechanisms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ For example, to capture 100% of traces for the resource `GET /checkout` from the
9090

9191
```
9292
# using system property
93-
java -Ddd.trace.sampling.rules='[{\"service\": \"my-service\", \"resource\": \"GET /checkout\", \"sample_rate\":1},{\"service\": \"my-service\", \"sample_rate\":0.2}]' -javaagent:dd-java-agent.jar -jar my-app.jar
93+
java -Ddd.trace.sampling.rules='[{"service": "my-service", "resource": "GET /checkout", "sample_rate":1},{"service": "my-service", "sample_rate":0.2}]' -javaagent:dd-java-agent.jar -jar my-app.jar
9494
9595
# using environment variables
9696
export DD_TRACE_SAMPLING_RULES='[{"service": "my-service", "resource":"GET /checkout", "sample_rate": 1},{"service": "my-service", "sample_rate": 0.2}]'

0 commit comments

Comments
 (0)