Skip to content

Search traces with non-string tags #2540

@idohalevi

Description

@idohalevi

Describe the bug
When I search for traces with a tag that its value is not a string I get a 500 error. I found that the ES query contains a regex format query. It seems like this type of query can search for string values only and when I try to search for tags that have other values I get an error.
Maybe it's related to #2364 ?

To Reproduce
Steps to reproduce the behavior:

  1. Run Jaeger with ES
  2. Search for traces with tag error=true or http.status_code=200

Expected behavior
The expected behavior is to get all the traces with the requested tags

Screenshots
image

Version (please complete the following information):

  • OS: Linux
  • Jaeger version: 1.20
  • Deployment: Kubernetes

What troubleshooting steps did you try?
When I change the field mapping from boolean to string the search works as expected

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions