-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[simple prometheus receiver]Support customized job name in configuration #31502
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
@chenlujjj Thanks for your advise, I will take a look at this. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Also running into this. Would appreciate some other way to not have |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
not stale |
Hi @fatsheep9146 , have you got time to review the PR ? |
Component(s)
receiver/simpleprometheus
Is your feature request related to a problem? Please describe.
Hi team, we use the simple prometheus receiver within the receiver creator to scrape metrics from k8s pods with specific annotations, the config is like:
it works good, but a small problem is that the simple prometheus receiver uses the
prometheus_simple/$endpoint
as thejob name
which would be transformed toservice.name
label in the metric.It will be great if we can customize the job name here.
Describe the solution you'd like
Add a job name setting in the configuration. The setting is optional.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: