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

Prometheus Exporter dashboard won't show mysql:metrics exporter if no linux:metric exporter

    XMLWordPrintable

    Details

      Description

      It seems the templated variable is being too restrictive:

      $host = label_values(node_load1, instance)

      In deployments with many mysql:metrics-only (or other) exporters, they will not appear. The following change in the variable will correctly show all of them:

      $host = label_values(instance)

      To reproduce, just add one exporter with all:

      pmm-admin add mysql

      and then add another with only mysql metrics:

      pmm-admin add mysql:metrics exporter_2

      this last one will not show up.

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned
                Reporter:
                agustin.gallego Agustín Gallego
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 20 minutes
                    20m