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

Grafana9 Fired Alerts are not reflecting custom-labels

Details

    • Bug
    • Status: Open
    • Medium
    • Resolution: Unresolved
    • 2.30.0
    • None
    • Alerting, Grafana
    • Yes
    • Yes
    • Yes
    • No
    • Server Features
    • Hide

      Steps to Reproduce:
      #1 Add service with custom labels flag 

      pmm-admin add mongodb --username="root" --password="root" --enable-all-collectors --custom-labels=database="pricing" mongodb-latest

      #2 navigate to inventory page and verify that label is displayed at other details coll 
      #3 Create Alert rule for that mongodb service 

      #4 wait until alert is triggered.

      Actual Result:
      custom-label is not visible at fired alert at all. 

      Expected Result:
      it should work as in previous version that means custom-flag should be reflected via the fired alert.

      Show
      Steps to Reproduce: #1 Add service with custom labels flag  pmm-admin add mongodb --username="root" --password="root" --enable-all-collectors --custom-labels=database="pricing" mongodb-latest #2 navigate to inventory page and verify that label is displayed at other details coll  #3 Create Alert rule for that mongodb service  #4 wait until alert is triggered. Actual Result: custom-label is not visible at fired alert at all.  Expected Result: it should work as in previous version that means custom-flag should be reflected via the fired alert.

    Description

      If user add service with custom-label flag it is not reflected via Fired Alerts Labels. If you will use this POST req you will see that the exporter actually know the label and BE is sending it inside DTO but it is not reflected via FE at ALL.

      POST
      http://admin:[email protected]/graph/api/datasources/uid/PA58DA793C7250F1B/resources/api/v1/labels
       

      Attachments

        1. expanded Rule.png
          expanded Rule.png
          162 kB
        2. firedAlerts.png
          firedAlerts.png
          86 kB
        3. OlderGrafanaBehav.png
          OlderGrafanaBehav.png
          98 kB
        4. pmm-inventory.png
          pmm-inventory.png
          60 kB

        Activity

          People

            fabio.dasilva Fabio Da Silva
            vojtech.koval Vojtech Koval
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Smart Checklist