inspectIT / inspectit-ocelot

inspectIT Ocelot - Java agent for collecting application performance, tracing and behavior data
http://www.inspectit.rocks/
Apache License 2.0
204 stars 69 forks source link

[Bug] - No default `sample-mode` for auto tracing settings #1565

Closed heiko-holz closed 1 year ago

heiko-holz commented 1 year ago

Describe the bug No default value for sample-mode is used for auto tracing. As described in https://github.com/inspectIT/inspectit-ocelot/blob/master/inspectit-ocelot-documentation/docs/instrumentation/rules.md, HYBRID_PARENT_TRACE_ID_RATIO_BASED should be set as the default sample-mode, but currently, the default sample-mode is null.

To Reproduce Enable auto-tracing, set sample-probability, but do not set the sample-mode.

Expected behavior The sample-mode should be HYBRID_PARENT_TRACE_ID_RATIO_BASED by default.