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

Explore Visualization tools for Instrumentation Data

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • None
    • CPS-Core, NCMP
    • None

      https://jira.onap.org/browse/CPS-1445 has introduce many timers for certain methods and also a Gauge for cache usage.

      The raw Prometheus outputĀ  is OK but not good for analysis of this e data.

      The purpose of this task is to explore tool(s) to visualize the data in a way that it is easier to analyze the cps specifica data and troubleshoot performance issues in CPS and NCMP use cases

      Tool(s) to consider

      1. Grafana

      A/C

      1. Demo to Team
      2. Instructions on Wii on how to setup and use

      Preliminary Instruction (valid for windows)

      1. from cps\docker-compose run
        docker-compose --profile dmi-stub --profile monitoring up -d
      2. (after about 1-2 mins CPS should be up, test using Swagger:
        http://localhost:8883/swagger-ui/index.html?configUrl=%2Fv3%2Fapi-docs%2Fswagger-config
      3. Check Prometheus raw stats using management interface:
        http://localhost:8887/manage/prometheus
      4. Check Prometheus UI Target
        http://localhost:9090/targets
      5. Login to Grafana and set password (frist time only)
        http://localhost:3000/dashboards default user: admin, password: admin
      6. Navigate to dat source and add one:
        http://localhost:3000/datasources/new
        Click on Prometheus, give it a name and add this url: http://prometheus-container:9090
      7. Click on 'Save & test'' (bottom of screen) and ensure your get 'Data source is working'
      8. Go back to Dashboards
        http://localhost:3000/dashboards

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

              Created:
              Updated:
              Resolved: