Skip to content

Commit 201a370

Browse files
authored
Document how to enable tracing (#123713)
1 parent 91c2654 commit 201a370

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/apm/METERING.md

+6
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,12 @@ rootProject {
115115
}
116116
```
117117

118+
If you would like to add tracing add following settings to the above configuration:
119+
```groovy
120+
setting 'telemetry.tracing.enabled', 'true'
121+
setting 'telemetry.agent.transaction_sample_rate', '1.0' //ensure every transaction is sampled
122+
```
123+
118124
The example use:
119125
```
120126
./gradlew :run -Dmetrics.enabled=true

0 commit comments

Comments
 (0)