-
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
[resourceprocessor] share atrribute data between resource attribte and span/log/metrics attributes #24022
Comments
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. |
Pinging code owners for processor/resource: @dmitryax. See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Hey! To move the attribute to the resource attribute you can use groupbyattrsprocessor
|
Component(s)
processor/attributes, processor/resource
Is your feature request related to a problem? Please describe.
The two processors have the power ability to modify their attributes of themselves but, can't apply the ability between them,
e.g. I want to move a key value from the span attribute to its resource attribute,
Describe the solution you'd like
giving an option to tell resourceprocessor it will fetch data from span/log/metrics attribute instead of itself attribute when using
from_attribute
for the actionsinsert
,update
, andupsert
resourceprocessor config:
The same as attributeprocessor, the config will look like:
Describe alternatives you've considered
No response
Additional context
In our scenes, we want to standardize the resource attributes map like:
k8s.namespace.name
,k8s.pod.name
,service.name
however istio trace only supports generating those in span attribute, we need to move them to resource attribute.The text was updated successfully, but these errors were encountered: