jaegertracing/jaeger

query service "search" api 'limit', 'total' and 'offset' fields are not supplied on response

Open

#2027 opened on Jan 17, 2020

View on GitHub
 (17 comments) (3 reactions) (0 assignees)Go (18,974 stars) (2,326 forks)batch import
area/storageenhancementhelp wanted

Description

Requirement - what kind of business use case are you trying to solve?

set of fields are not supplied on the query service search response

Service: jaeger query API: /apt/traces Current response:

{
  data: "...",
  total: 0,
  limit: 0,
  offset: 0
}

Response struct: https://github.com/jaegertracing/jaeger/blob/886b96574253a005ee7ebe74140098f3fe183606/cmd/query/app/http_handler.go#L56 Response part: https://github.com/jaegertracing/jaeger/blob/886b96574253a005ee7ebe74140098f3fe183606/cmd/query/app/http_handler.go#L238

Fields total, limit and offset are not supplied on the response part.

I am ready yo submit a PR if someone guide me to get these fields.

Contributor guide