Skip to content

Commit

Permalink
feature: support POST method for series endpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Lee <[email protected]>
  • Loading branch information
eahydra committed Apr 11, 2019
1 parent 8b25a1d commit eca6499
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/query/api/v1.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ func (api *API) Register(r *route.Router, tracer opentracing.Tracer, logger log.
r.Get("/label/:name/values", instr("label_values", api.labelValues))

r.Get("/series", instr("series", api.series))
r.Post("/series", instr("series", api.series))
}

type queryData struct {
Expand Down

0 comments on commit eca6499

Please sign in to comment.