Skip to content

Allow tags to be added to those provided by default for WebMVC and WebFlux #20175

@jfernandez

Description

@jfernandez

Bean in question:

@Bean
public MetricsWebMvcConfigurer metricsWebMvcConfigurer(MeterRegistry meterRegistry,
WebMvcTagsProvider tagsProvider) {
return new MetricsWebMvcConfigurer(meterRegistry, tagsProvider);
}

We've ran into several use-cases where a Springboot apps want to add additional tags on top of the default ones we provide. Making this bean take a list of WebMvcTagsProviders would enable that.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions