You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/03/30 05:11:14 UTC
[GitHub] [camel-k] tadayosi edited a comment on pull request #3152: Example to show usage of prometheus trait
tadayosi edited a comment on pull request #3152:
URL: https://github.com/apache/camel-k/pull/3152#issuecomment-1082626061
Yes, Andrea is right. See this doc to learn how to use prometheus trait.
https://camel.apache.org/camel-k/next/traits/prometheus.html
So you can pick up a very simple route example like this tick timer:
https://github.com/apache/camel-k/blob/main/examples/traits/container/HttpsHealthChecks.java#L41-L46
What you'd need is only attach the Prometheus trait to the route.
--
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-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org