Skip to content

Commit

Permalink
Revert "do not show __name__ in labe name results" actually needed
Browse files Browse the repository at this point in the history
This reverts commit a338baf.
  • Loading branch information
Hedius committed Mar 16, 2024
1 parent a338baf commit da934cc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion prometheus/querier.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ func (q *Querier) LabelNames(matchers ...*labels.Matcher) ([]string, storage.War
}
w.And(and)
}
w.And("value != '__name__'")
fromDate := time.Now().AddDate(0, 0, -q.config.ClickHouse.TaggedAutocompleDays).UTC()
w.Andf("Date >= '%s'", fromDate.Format("2006-01-02"))

Expand Down

0 comments on commit da934cc

Please sign in to comment.