OTTL looks like it could be a terrific tool for dynamically instrumenting an app without having to engage the developer. My challenge with it is that the behavior of the where clause in a set statement seems to be inconsistent when matching certain attributes. For example, if the where clause of my set statement looks like this 'attributes["thread.name"] == "ApplicationThread"', the set statement works. If I use the condition attributes["span.kind"] == "client", the set statement never runs. Looking at the data in Jaeger and Splunk APM shows the span.kind attribute set to "client".
@RonyPlayer7 ай бұрын
You should problably enable the debug exporter to double check what you are matching against. Also ask help on the slack channel for CNCF, people are generally helpful there