-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[receiver/nginxreceiver] Add additional labels for nginxreceiver #33069
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
I'm not sure endpoint related information should be used as identifying attributes because they may be volatile. Are there any other identifiers available via the API? Perhaps a UUID of some sort? |
There is no additional information from the API for identification. Maybe add an optional |
That's an interesting idea. If we want to do something along those lines I'd suggest we use the semantic conventions for Config could look like: receivers:
nginx:
...
service:
name: foo
instance.id: 627cc493-f310-47de-96bd-71410b7dec09 or maybe more generic: receivers:
nginx:
...
additional_resource_attributes: # (probably a better name)
service.name: foo
service.instance.id: 627cc493-f310-47de-96bd-71410b7dec09
custom.attribute: bar @dmitryax, I think this issue could be relevant to many different metric scrapers. Do you think this is a reasonable solution we might want to use more broadly? |
Removing |
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. |
This is also relevant for receiver/kafkametricsreceiver And his issue is still in demand |
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. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Component(s)
receiver/nginx
Is your feature request related to a problem? Please describe.
Metrics look like this
But in this example I am using 2 nginx. The metrics are summarized for both nginx. As a result, it looks like this on the graph
On the first nginx I have ~200, and on the second ~3 active connections.
Describe the solution you'd like
I suggest add additional labels in metrics with information about nginx endpoint. For example
http_scheme
,instance
,net_host_name
andnet_host_port
Describe alternatives you've considered
No response
Additional context
Example of my collector configuration for 2 nginx:
The text was updated successfully, but these errors were encountered: