Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-5559

Global annotations can now be set with the pmm-admin annotate command.

    XMLWordPrintable

    Details

    • Story Points:
      3
    • Sprint:
      Platform Sprint 13, Platform Sprint 14
    • Needs Review:
      Yes
    • Needs QA:
      Yes
    • Needs Packaging:
      No
    • Needs Doc:
      Yes

      Description

      1) As a PMM User, I need to be able to add global annotations to PMM by  running pmm-admin annotate command  so that I can see Grafana annotation on all dashboards in PMM  (excl. QAN )

      We expect no changes in Grafana dashboards (they were done in 2.0.0).

      Example:

      pmm-admin annotate "Upgrade to v1.2" --tags "UX,v1.2"

       

       

      DOD:

      Annotations added via CLI or API should be visible in grafana.
      All annotations added globally should have extra tag `pmm_annotations`.

      Out of scope:

      • Removing and Updating existing annotations. 
      • We don't save any data about annotations in pmm-managed.
      • Grafana UI part

      Suggested implementation:

      1. New endpoint in pmm-managed API
      2. Create grafana annotation  vi API (https://grafana.com/docs/grafana/latest/http_api/annotations/)

       

      DOC: Level of documentation - same as we had for pmm1 - mention this in doc. LAter will go to the reference manual

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              andrii.skomorokhov Andrii Skomorokhov
              Reporter:
              roma.novikov Roma Novikov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 4 days, 2 hours, 56 minutes
                  4d 2h 56m

                    Smart Checklist