-
Hi SkyWalking community, I would like to know if there is a way to report a custom tag in all spans using the SkyWalking Java agent without modifying the application code. For example, I want to add an environment name tag (indicating which environment the agent machine belongs to) to every span automatically. Is there a built-in configuration or extension mechanism to achieve this? Thanks for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
How is that possibility? If things go in this way, are you creating a new language? |
Beta Was this translation helpful? Give feedback.
If you mean everything is predicated, try this, https://skywalking.apache.org/docs/skywalking-java/latest/en/setup/service-agent/java-agent/customize-enhance-trace
Note, this is actually not different from writing codes.
And I think this will create an extra span.