Add ability to specify custom base path to exporters and tools using `pmm-admin` command

Description

  User story:
As a PMM user, I need to be able to pass a base path in pmm-admin so I can easily specify all paths for exporters

UI/UX:
pmm-admin config --paths-base=...

Acceptance criteria

  • User able to pass --paths-base flag to pmm-admin during the configuration

  • flag passed to pmm-agent

  • Documentation

    • Reference doc updated with a new flag

Out of scope: 

TBD

Suggested implementation:
TBD

How to test:
TBD

While testing, please ensure, client upgrades work as expected, Error Handling for custom-path files missing is proper, Permission issues on the files are handled with proper error handling. 

Details:
TBD

 

pmm-admin config --paths-base=

How to test

None

How to document

None

Smart Checklist

Activity

Roma Novikov November 16, 2021 at 4:55 PM

Please note: we got a bug report about a bug in the feature () related to tar ball installation 

Roma Novikov November 11, 2021 at 1:55 PM

i think only https://www.percona.com/doc/percona-monitoring-and-management/2.x/details/commands/pmm-admin.html need to be updated in this case.
The repo is : https://github.com/percona/pmm-doc
branch: `2.25.0` I think, because the Doc and flag must go public at the same time

shashank.sinha November 11, 2021 at 12:03 PM

, please help with documentation update on this.

Done

Details

Assignee

Reporter

Priority

Components

Labels

Needs QA

Yes

Needs Doc

Yes

Fix versions

Story Points

Smart Checklist

Created October 6, 2021 at 10:34 AM
Updated November 13, 2024 at 9:44 AM
Resolved December 15, 2021 at 1:52 PM