-
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
[processor/resourcedetection] missing host.id for system resourcedetection #18533
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Resolved by #18618 |
Trying to redefine host.id with:
but it doesn't work (host.id in Prometheus is still equal to /etc/machine-id). Moreover, every time I restart otel-collector-contrib container (this happens quite often), it gets a new |
@rayrapetyan What is a desired behavior you want to achieve? having |
@sumo-drosiek, right, so it stops refreshing every time otel-collector-contrib container restarts. |
@rayrapetyan Could you share your pipeline configuration? |
Hello @sumo-drosiek , |
@sumo-drosiek, sure here is my config:
|
Is this issue fixed? I'm facing same issue to get the hostname details |
Which one do you mean? In this thread few issues have been mentioned already |
I'm trying to get the hostname details with updating host_id but no luck. Can you advise how to define key host_id value under processors for hostname output? |
If you are using resourcedetection:
system:
resource_attributes:
host.id:
enabled: true This is due to #21482 |
Component(s)
processor/resourcedetection
Is your feature request related to a problem? Please describe.
host.id
which is specified in convention in not set by resourcedetectionprocessorDescribe the solution you'd like
I would like to get
host.id
from/etc/machine-id
Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: