credentials-operator icon indicating copy to clipboard operation
credentials-operator copied to clipboard

Support Prometheus metrics

Open orishoshan opened this issue 2 years ago • 2 comments

Today, only the network-mapper exposes Prometheus metrics (default Golang metrics as well as custom metrics).

Proposal: Expose Prometheus default Golang metrics as well as custom metrics, such as secret created, updated, and so on.

orishoshan avatar Sep 25 '23 22:09 orishoshan

Can I try this? Also, can you specify all the required metrics that need to be added?

Additionally, can you clarify in which file we create and update the secret? I tried to find out, but I found the logs in both managers.go as well as base.go files. I will also be going through the codebase thoroughly.

srijan-keshri avatar Oct 16 '24 20:10 srijan-keshri

Hey @srijan-keshri, of course! This issue was created at a time when the credentials operator had only one set of secrets, but now it's a lot more mature :) How about we start with just the default Golang metrics, and in the meantime we'll work on compiling a list of all other metrics?

orishoshan avatar Oct 21 '24 10:10 orishoshan