-
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] Additional docker attributes #29018
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
I think this is a good idea. Here's the current list of resource attributes we're getting from Docker. This will require some level of plumbing of these resource attributes. The resource detection processor is getting docker data from @schewara would you be interested in adding these resource attributes? |
@crobert-1 Generally I would be interested, but therefore I need to learn Go first, which might take a while until I get around it. |
Fair point 🙂 |
This comment was marked as off-topic.
This comment was marked as off-topic.
Has there been any work on pulling additional docker attributes, either as part of resourcedetection or dockerstats? Specifically, I am looking for the |
@hq-conf You might want to try the k8s attributes processor, it looks like it can get the |
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. |
How would the actual configuration for the k8s attribute processor look like to grab the labels from a docker container? |
The README has information for how to accomplish this. There's also a config example that shows how to extract metadata from the k8s environmnent. |
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)
processor/resourcedetection
Describe the issue you're reporting
It would be super helpful if the Docker Metadata would support more attributes, like the ones proposed in https://opentelemetry.io/docs/specs/semconv/resource/container/
An example use case would be a CI/CD Pipeline where multiple integration tests are running in parallel for different feature branches, which can only be distinguished by a unique container.name or container.image.tag
The text was updated successfully, but these errors were encountered: