-
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/k8sattributes] Update the list of attributes added by default #23136
Comments
cc @povilasv @fatsheep9146 @gbbr please let me know WDYT |
I wonder why |
I'm not sure. Maybe |
What about?
|
I agree more with this version, I think the basic goal of using k8s attribute is to find out which container exports this span or metric. And in the next step, user would consider how to aggregate them with other labels, for example, deployment name, job name and so on. @dmitryax |
I'm not an expert on how valuable these attributes are but I'll just drop my 2c:
If the answer is no to the latter, then I think that we should definitely make it disabled by default. |
I personally think these attributes are useful - k8s.pod.name
- k8s.pod.uid
- k8s.node.name
- k8s.deployment.name
- k8s.statefulset.name
- k8s.daemonset.name
- container.image.name (if container identity provided)
- container.image.tag (if container identity provided) If it's significantly more expensive to fetch |
Ok, at this point, I don't think we have a strong reason to change it with a consensus on how the default list should look like. If #23067 can be resolved without performance degradation, I think we can just close this issue |
I also tend to think that the default should include deployment.name and other high level resources if there is no performance drawbacks. These are very useful when digging in the data |
I agree with this list, minus |
Agreed. I included it because it seems inexpensive, but I've never used it either. |
I think |
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 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. |
Is your feature request related to a problem? Please describe.
Currently, the following the processor adds the following attributes by default:
I believe we need to revisit the list or make it required. I don't think we need to add the following attributes by default:
k8s.pod.start_time
because it's not defined in the spec and is arguably less useful than others.k8s.deployment.name
because it's unclear why only deployment gets into the list but not daemonset or statefulset. Also, it requires keeping the replicasets in the processor's state, which appeared to be pretty expensive: [processor/k8sattributes] Excessive heap usage fromk8sattributes
processor after 0.78.0 upgrade #23067Describe the solution you'd like
Update the list of the attributes added by default to:
Maybe we don't even add
k8s.pod.uid
for consistency with other fieldsThe text was updated successfully, but these errors were encountered: