You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In WavefrontTracingAutoConfiguration, it defines a WavefrontSpanHandler bean.
This passes an empty collection to the redMetricsCustomTagKeys in the constructor.
Per this documentation in Wavefront, the redMetricsCustomTagKeys should be populated by the wavefront.tracing.red-metrics-custom-tag-keys property.
I believe this bean definition is the corresponding part for the property.
So, what the doc mentioned to work, I think populated values need to be passed to redMetricsCustomTagKeys rather than an empty set.
The text was updated successfully, but these errors were encountered:
We (Wavefront team) recommend a new property be added to WavefrontProperties.java: management.wavefront.trace-derived-custom-tag-keys.
While the above property name is different from the Spring Boot 2 property (wavefront.tracing.red-metrics-custom-tag-keys), it matches the name used in other Wavefront Tracing usages documented at https://docs.wavefront.com/tracing_customize_spans_and_alerts.html.
This would be wired into the WavefrontSpanHandler that @ttddyy linked to.
Given that this was supported with Spring Boot 2 and the separate starter (albeit with a different property name), I think we should consider it to be a bug of omission in Spring Boot 3.0.
wilkinsona
changed the title
Populate WavefrontSpanHandler#redMetricsCustomTagKeys defined in WavefrontTracingAutoConfiguration
Spring Boot 3 does not provide a configuration property for configuring red metrics custom tag keys
Feb 27, 2023
In
WavefrontTracingAutoConfiguration
, it defines aWavefrontSpanHandler
bean.This passes an empty collection to the
redMetricsCustomTagKeys
in the constructor.spring-boot/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/tracing/wavefront/WavefrontTracingAutoConfiguration.java
Lines 62 to 69 in 0e67fbc
Per this documentation in Wavefront, the
redMetricsCustomTagKeys
should be populated by thewavefront.tracing.red-metrics-custom-tag-keys
property.I believe this bean definition is the corresponding part for the property.
So, what the doc mentioned to work, I think populated values need to be passed to
redMetricsCustomTagKeys
rather than an empty set.The text was updated successfully, but these errors were encountered: