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

Store external exporters configuration in Consul KV

    XMLWordPrintable

    Details

    • Type: Admin & Maintenance Task
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0
    • Component/s: PMM Manage
    • Labels:
      None

      Description

      To survive PMM upgrades where we replace Prometheus configuration file, but keep Consul data volume.

      Consul KV data should be visible in the web interface on http(s)://hostname/consul

      How to test:

      • Make a clean installation.
      • Copy prometheus.yml file.
      • Add several external exporters.
      • Stop Prometheus, pmm-managed.
      • Restore prometheus.yml to the original form
      • Start Prometheus, pmm-managed.
      • prometheus.yml should include external exporters (they are added by pmm-managed), Prometheus configuration should be reloaded (that is visible in logs).

      Nothing to document, that's an implementation detail.

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  nailya.kutlubaeva Nailya Kutlubaeva
                  Reporter:
                  alexey.palazhchenko Alexey Palazhchenko
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: