Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-1445

Introduce Prometheus based instrumentation

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • London Release
    • 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

            ToineSiebelink Toine Siebelink
            sourabh_sourabh Sourabh Sourabh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: