In WavefrontTracingAutoConfiguration, it defines a WavefrontSpanHandler bean.
This passes an empty collection to the redMetricsCustomTagKeys in the constructor.
|
@Bean |
|
@ConditionalOnMissingBean |
|
@ConditionalOnBean(WavefrontSender.class) |
|
WavefrontSpanHandler wavefrontSpanHandler(WavefrontProperties properties, WavefrontSender wavefrontSender, |
|
SpanMetrics spanMetrics, ApplicationTags applicationTags) { |
|
return new WavefrontSpanHandler(properties.getSender().getMaxQueueSize(), wavefrontSender, spanMetrics, |
|
properties.getSourceOrDefault(), applicationTags, Collections.emptySet()); |
|
} |
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.
In
WavefrontTracingAutoConfiguration, it defines aWavefrontSpanHandlerbean.This passes an empty collection to the
redMetricsCustomTagKeysin 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
redMetricsCustomTagKeysshould be populated by thewavefront.tracing.red-metrics-custom-tag-keysproperty.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
redMetricsCustomTagKeysrather than an empty set.