Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibilty to add prefix for objects #3329

Open
BrendonA667 opened this issue Nov 26, 2024 · 2 comments
Open

Possibilty to add prefix for objects #3329

BrendonA667 opened this issue Nov 26, 2024 · 2 comments
Labels
customer feature New feature or request

Comments

@BrendonA667
Copy link

Is your feature request related to a problem? Please describe.
Feature request, which has the possibility to add a prefix for objects in a central place, so all objects which harvest collects use this. With that you can create a unique object fully Independent from other metrics in a database.

Describe the solution you'd like
Possibility to add a prefix in the conf file so that every object can use this, instead of creating custom files.

Additional context
We have one Prometheus instance which collects various of metrics like from the Harvest, Windows, Linux system etc. to make a metric unique as possible we created in the Harvest config dedicated custom files where we added the prefix netapp_ to the object.
image

@BrendonA667 BrendonA667 added the feature New feature or request label Nov 26, 2024
@rahulguptajss
Copy link
Contributor

@BrendonA667 There is no need to do that. You can define the global_prefix parameter in the exporter settings as documented here.

@BrendonA667
Copy link
Author

Hi @rahulguptajss my bad, I should read the documentation. I will test it in the next few days and give you feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants