-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Allow configuration of default tags which are always attached to traces as attributes #472
Comments
It may be better to attach the "normal" common tags to the traces instead of another, specific set of tags. It should be considered whether they are attached on each span or only on the root span within an application in order to reduce the amount of data. |
I agree with marius.
The value would be an enum wit hthe two presented values. I would suggest using |
@JonasKunz so you would say for now there is no option for add on all spans? Also you would add always all common tags, you would not define a list of tags? I would say not all common tags make sence for the tracing.. Maybe we should allow to specify which ones you want. In addition I would add option to add common tags to every span as well, as this does duplicate the data, but on the other hand makes searching of the spans way easier.. |
@ivansenic I agree that adding all tags does not always make sense.
This options can add or remove (for empty values) common attributes and takes precendence over tags. Regarding your second point I agree with adding a |
@JonasKunz We discussed this situation yesterday.. But it does not support matching of attributes in all spans of a trace? Let say you are searching for a specific SQL or attribute which is not the local root where the common tags are.. You would not be able to connect this search, so give me SQL and find a common tag value, right? This is why |
Currently, all attributes of a trace have to be explicitly defined in the configuration. If traces should have a set of attributes/tags which should be always exists (e.g. application) the user has to be ensure that all rules include the desired tag/attribute.
If many file exists, this can be quite hard.
It would be nice if the user can specify a set of "default tags" which are always attached to traces.
The text was updated successfully, but these errors were encountered: