Skip to content

Commit

Permalink
support post in /api/v1/labels
Browse files Browse the repository at this point in the history
Signed-off-by: yeya24 <[email protected]>
  • Loading branch information
yeya24 committed Dec 20, 2019
1 parent 9888f8d commit 0d6966f
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 @@ -164,6 +164,7 @@ func (api *API) Register(r *route.Router, tracer opentracing.Tracer, logger log.
r.Post("/series", instr("series", api.series))

r.Get("/labels", instr("label_names", api.labelNames))
r.Post("/labels", instr("label_names", api.labelNames))
}

type queryData struct {
Expand Down

0 comments on commit 0d6966f

Please sign in to comment.