Skip to content
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

Lookback 12/24 hours query returns empty result #634

Closed
golonzovsky opened this issue Jan 5, 2018 · 3 comments
Closed

Lookback 12/24 hours query returns empty result #634

golonzovsky opened this issue Jan 5, 2018 · 3 comments

Comments

@golonzovsky
Copy link

golonzovsky commented Jan 5, 2018

Storage type: Elasticsearch
Jaeger verison 1.1

Query service is sending same from/to timestamps when requesting Lookback 12/24 hours, therefore getting empty result. 2 days and 6 hours and below works fine.

See tcpdump of elasticsearch query:

POST /jaeger-span-2018-01-05/span/_search?ignore_unavailable=true
{
  "aggregations": {
    "traceIDs": {
      "aggregations": {
        "startTime": {
          "max": {
            "field": "startTime"
          }
        }
      },
      "terms": {
        "field": "traceID",
        "order": [
          {
            "startTime": "desc"
          }
        ],
        "size": 200
      }
    }
  },
  "query": {
    "bool": {
      "must": [
        {
          "range": {
            "startTime": {
              "from": 1515167987498000,
              "include_lower": true,
              "include_upper": true,
              "to": 1515167987498000
            }
          }
        },
        {
          "match": {
            "process.serviceName": {
              "query": "assembler"
            }
          }
        }
      ]
    }
  },
  "size": 0
}

UPD: Ah, even easier - its visible form browser network tab (start and end are equal), so most likely UI related:

http://jaeger.example.com/search?end=1515168084006000&limit=200&lookback=12h&maxDuration&minDuration&service=assembler&start=1515168084006000
@golonzovsky golonzovsky changed the title last 12 and last 24 hours query return empty result Lookback 12/24 hours query return empty result Jan 5, 2018
@golonzovsky golonzovsky changed the title Lookback 12/24 hours query return empty result Lookback 12/24 hours query returns empty result Jan 5, 2018
@yurishkuro
Copy link
Member

@tiffon is this a UI issue? Query service should be simply taking what UI gives it.

@tiffon
Copy link
Member

tiffon commented Jan 9, 2018

@yurishkuro This is a UI bug: jaegertracing/jaeger-ui#167

@golonzovsky
Copy link
Author

golonzovsky commented Feb 21, 2018

can be closed, as it was fixed in 1.2.0 with jaegertracing/jaeger-ui#167

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants