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

Enable Textfile Collector by Default in node_exporter

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.16.0
    • Component/s: Node_Exporter, PMM Client
    • Labels:
      None

      Description

      We should simplify enabling text file collector extensions for PMM user

      We should enable it by default and create specific directory which is part
      of the agent install where users simply can put text files from the scripts
      they create


      Peter Zaitsev, CEO, Percona

      TODO
      1) Implement automatic collection of *.prom text files from /usr/local/percona/pmm-client/textfile-collector by default making change in https://github.com/percona/node_exporter/blob/master/collector/textfile.go#L36
      2) create /usr/local/percona/pmm-client/textfile-collector during installation of pmm-client
      3) place to /usr/local/percona/pmm-client/textfile-collector file sample.prom with commented example and link to
      https://github.com/prometheus/node_exporter#textfile-collector for usage and examples
      4) ? add some tests to ensure this feature will work later

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                pz Peter Zaitsev
              • Votes:
                1 Vote for this issue
                Watchers:
                6 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 - 2 days, 7 hours, 10 minutes
                  2d 7h 10m