I hope this is the right section to ask these question, otherwise point me in the right direction please!
I’m implementing a series of integrations with external systems: basically these integrations take data from somewhere, process it and import it somewhere else.
These integration are implemented as osgi scr components and deployed to an apache karaf installation.
I would like to implement metrics for these integrations (like job count, job results, duration, http rest metrics etc).
How the prometheus registry behaves in a osgi context? I see that is packaged as a bundle…
Is it common to all osgi components?
Before I thought that every component had its own registry to where register metrics, but in practice it doens’t seem to behave like that. Instead it seems to be shared?
Any insights to share?
Thanks in advance!