Pasquale Congiusti created CAMEL-21384:
------------------------------------------

             Summary: [camel-micrometer] Analyse the possibility to harmonize 
the metrics endpoint
                 Key: CAMEL-21384
                 URL: https://issues.apache.org/jira/browse/CAMEL-21384
             Project: Camel
          Issue Type: Improvement
    Affects Versions: 4.x
            Reporter: Pasquale Congiusti
            Assignee: Pasquale Congiusti


I've been testing the Camel-micrometer component with the different runtimes we 
have. So far, each of the runtime requires a different set of configuration and 
it exposes the metrics in a different endpoint:

{code}
######## Camel MAIN

application.properties
camel.server.enabled=true
camel.server.metricsEnabled=true
camel.metrics.enabled=true

$ camel run test.yaml application.properties 

URL --> http://localhost:8080/q/metrics

######## Camel QUARKUS

Blank application.properties

$ camel run test.yaml --runtime quarkus --dep 
mvn:io.quarkus:quarkus-micrometer-registry-prometheus --dep camel-micrometer

URL --> http://localhost:8080/q/metrics


######## Camel SPRINGBOOT

management.endpoints.web.exposure.include=prometheus

$ camel run test.yaml application.properties --runtime spring-boot --dep 
mvn:io.micrometer:micrometer-registry-prometheus --dep camel-micrometer

URL --> curl http://localhost:8080/actuator/prometheus
{code}

We should understand if it is feasible to harmonize somehow the configuration 
to be able to spit the metrics to the same endpoint OOTB.



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

Reply via email to