THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
final MeterRegistry registry = ...; /* Micrometer MeterRegistry instance */ final JaxwsTags jaxwsTags = new JaxwsTags(); final TagsCustomizer operationsCustomizer = new JaxwsOperationTagsCustomizer(jaxwsTags); final TagsCustomizer faultsCustomizer = new JaxwsFaultCodeTagsCustomizer(jaxwsTags, new JaxwsFaultCodeProvider()); final TagsProvider tagsProvider = new StandardTagsProvider(new DefaultExceptionClassProvider(), new StandardTags()); final MicrometerMetricsProperties properties = new MicrometerMetricsProperties(); final MetricsProvider metricsProvider = new MicrometerMetricsProvider(registry, tagsProvider, Arrays.asList(operationsCustomizer, faultsCustomizer), new DefaultTimedAnnotationProvider(), properties); EndpointImpl endpoint = new EndpointImpl(bus, new HelloPortImpl(), null, null, new WebServiceFeature[]{ new MetricsFeature(metricsProvider) }); |
Integration with JAX-RS
No fully supported at the moment