-
Notifications
You must be signed in to change notification settings - Fork 184
docs: clarify tag search behavior in Jaeger UI (fixes jaegertracing/jaeger#7333) #952
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -205,6 +205,14 @@ Field | Description | |
|
|
||
| This will display trace IDs like: `1a2b3c4d5e6f` (instead of the full 32-character ID or default 7-character). | ||
|
|
||
| ## Tag Search Behavior | ||
|
|
||
| Jaeger UI indexes and allows searching for tags (attributes) whose values are strings. If a tag is set as an array (for example, `["value"]`), it may be indexed as a JSON string (e.g., `'["value"]'`). In such cases, you would need to search for the exact JSON string representation in the UI. This can be confusing, as searching for just `value` will not match an array-valued tag; you must search for the full JSON string (e.g., `'["value"]'`). | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
are you just restating what I said or did you validate it? Can you search by a string like that?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it's a bug. I don't want to make changes to documentation before we fix the bug. jaegertracing/jaeger#7346 |
||
|
|
||
| For best results, ensure that important tags (such as request IDs) are set as strings, not arrays, when instrumenting your applications. This will make them directly searchable in the Jaeger UI. | ||
|
|
||
| > See also: [GitHub issue #7333](https://github.com/jaegertracing/jaeger/issues/7333) for more context on this behavior. | ||
|
|
||
| ## Embedded Mode | ||
|
|
||
| Starting with version 1.9, Jaeger UI provides an "embedded" layout mode which is intended to support integrating Jaeger UI into other applications. Currently (as of `v0`), the approach taken is to remove various UI elements from the page to make the UI better suited for space-constrained layouts. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure this is accurate. If the array tag can be retrieved from db then it was indexed as well, but most likely as a JSON string.