lgarciaaco opened a new pull request, #5154: URL: https://github.com/apache/camel-k/pull/5154
Improve metrics for integrations, record a counter with integration_name and state <!-- Description --> This PR expands the metrics endpoint, now exposing a counter for the combination _integration_name_ and _integration_phase_. The output looks like: ``` curl -s localhost:8080/metrics | grep -v "# " | grep integration_phase camel_k_integration_phase{id="hello",phase="running"} 1 camel_k_integration_phase{id="hello-1",phase="error"} 5 camel_k_integration_phase{id="hello-1",phase="running"} 2 ``` <!-- Enter your extended release note in the below block. If the PR requires additional action from users switching to the new release, include the string "action required". If no release note is required, write "NONE". You can (optionally) mark this PR with labels "kind/bug" or "kind/feature" to make sure the text is added to the right section of the release notes. --> **Release Note** ```release-note NONE ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org