Skip to content

Prometheus metrics #822

Answered by davsclaus
git-josip asked this question in Q&A
Jul 10, 2023 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Yeah you need to do all of this the standard spring boot way - add some prometheus -starter as dependency and maybe some configuration into application.properties.

And add camel-micrometer-starter then it auto collects metrics and via a micrometer-promethus (spring boot standard) then it can be exposed over http in prometheus protcol
https://camel.apache.org/components/3.20.x/micrometer-component.html#_spring_boot_auto_configuration

In karavan, you can just add camel-micrometer as dependency

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by davsclaus
Comment options

You must be logged in to vote
1 reply
@davsclaus
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants