Replies: 1 comment 2 replies
-
|
Hi @tomkcook! I'm Dosu and I’m helping the jaeger team. This is a subtle but known issue: Jaeger interprets tag values in queries as regular expressions, not as literal strings, and does not escape special characters like colons for you. So when you query for a MAC address (which contains colons), the value is treated as a regex pattern, which can cause the query to fail to match as expected if the value isn't escaped. This is why querying by just the UUID works, but adding the MAC address returns no results—even though the data is present. To fix this, try escaping the colons in your MAC address value with a backslash (e.g., If you still get no results, it’s worth querying OpenSearch directly to verify how the tag values are stored and indexed, just to rule out any data ingestion issues. But based on the Jaeger code and how queries are constructed, escaping regex special characters in tag values is the correct approach here. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have Jaeger v2 and OpenSearch running in a docker compose stack. My compose services and Jaeger config.yaml are shown below.
I have a service that is reporting spans using the OTel SDK. The top-level span in each trace has a tag called
vtba.ap_group_uuidwhile a subordinate span in each trace has both that tag and another calledvtba.sta_mac. These are submitted as attributes on each span. The first contains a UUID represented as a string in the usual format (ega15068f5-c702-4ad9-a0b4-ccf60bd2ddb9) while the second contains a MAC address in colon-separated notation (eg9e:88:18:3c:e3:80).I'm trying to query for these, embedding the traces display in an iframe in another website. I'm using a query string such as this:
After undoing the URL-encoding, the
tagsparameter looks like this:If I only query by
vtba.ap_group_uuidthen everything works as expected. If I add thevtba.sta_macparameter as above, I always get no results. I have confirmed repeatedly that there really are traces with those tag values.I've checked the OpenSearch index mapping and it includes this:
As far as I can tell, this is correct. Gemini suggests that tag values containing colons might be the issue but I have a fairly low confidence in this - the config fragment it suggests to fix it is nonsensical.
Am I doing something obviously wrong here?
Beta Was this translation helpful? Give feedback.
All reactions