-
Story
-
Resolution: Done
-
Medium
-
None
-
None
-
None
See https://www.robustperception.io/instrumenting-java-with-prometheus/
Java Example for timers (histogram): https://github.com/prometheus/client_java#histogram
Assumption: CPS and NCMP already support Prometheus (endpoints)
Add prometheus compatible instrumentation to NCMP/CPS to be able to
- NCMP Registration use case timing
- include more fine grained timing ie.
- actual registry update
- state update
- notification update
- CPS CRUD operations
- CPS-Core large data writing
- Model-Parsing time
- Model-reuse
- count cache hits/misses
- Cache retrieval time
A/C
- Document how to run tests and retrieve instrumentation details
- demo to team
- Store (on wiki) details regarding deletion use-case