Skip to content

Commit c3ae30b

Browse files
committed
Add /api/v1/query_exemplars route support to query-tee
Signed-off-by: wangguoliang <[email protected]>
1 parent 9db30fb commit c3ae30b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/query-tee/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ func cortexReadRoutes(cfg Config) []querytee.Route {
7171
return []querytee.Route{
7272
{Path: prefix + "/api/v1/query", RouteName: "api_v1_query", Methods: []string{"GET"}, ResponseComparator: samplesComparator},
7373
{Path: prefix + "/api/v1/query_range", RouteName: "api_v1_query_range", Methods: []string{"GET"}, ResponseComparator: samplesComparator},
74+
{Path: prefix + "/api/v1/query_exemplars", RouteName: "api_v1_query_exemplars", Methods: []string{"GET"}, ResponseComparator: nil},
7475
{Path: prefix + "/api/v1/labels", RouteName: "api_v1_labels", Methods: []string{"GET"}, ResponseComparator: nil},
7576
{Path: prefix + "/api/v1/label/{name}/values", RouteName: "api_v1_label_name_values", Methods: []string{"GET"}, ResponseComparator: nil},
7677
{Path: prefix + "/api/v1/series", RouteName: "api_v1_series", Methods: []string{"GET"}, ResponseComparator: nil},

0 commit comments

Comments
 (0)