Skip to content

Commit

Permalink
fix: legacy label endpoint route
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorwhitney committed Nov 14, 2024
1 parent 16131be commit 8349b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/querier/queryrange/roundtrip.go
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ func getOperation(path string) string {
case path == "/loki/api/v1/detected_fields":
return DetectedFieldsOp
case strings.HasSuffix(path, "/values"):
if strings.HasPrefix(path, "/loki/api/v1/label") || strings.HasPrefix(path, "/prom/label") {
if strings.HasPrefix(path, "/loki/api/v1/label") || strings.HasPrefix(path, "/api/prom/label") {
return LabelNamesOp
}

Expand Down

0 comments on commit 8349b0d

Please sign in to comment.