Claus Ibsen created CAMEL-20525:
-----------------------------------

             Summary: camel-micrometer - Remove serviceName from tags
                 Key: CAMEL-20525
                 URL: https://issues.apache.org/jira/browse/CAMEL-20525
             Project: Camel
          Issue Type: Improvement
          Components: camel-micrometer
            Reporter: Claus Ibsen
             Fix For: 4.5.0


We include a tag with the class that created this metric in Camel, but it has 
no real value for end users, and just take up bandwith

{code}
camel_exchange_event_notifier_seconds_count{camelContext="foo",endpointName="timer://java?period=1000",eventType="ExchangeCompletedEvent",failed="false",routeId="route1",serviceName="MicrometerEventNotifierService",}
 29.0
camel_exchange_event_notifier_seconds_sum{camelContext="foo",endpointName="timer://java?period=1000",eventType="ExchangeCompletedEvent",failed="false",routeId="route1",serviceName="MicrometerEventNotifierService",}
 0.103798878
camel_exchange_event_notifier_seconds_count{camelContext="foo",endpointName="timer://java?period=5000",eventType="ExchangeCompletedEvent",failed="false",routeId="route2",serviceName="MicrometerEventNotifierService",}
 6.0
camel_exchange_event_notifier_seconds_sum{camelContext="foo",endpointName="timer://java?period=5000",eventType="ExchangeCompletedEvent",failed="false",routeId="route2",serviceName="MicrometerEventNotifierService",}
 0.021171501
{code}

We can then remove tag `serviceName`



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to