Skip to content

Commit 595a1d5

Browse files
committed
update comment
Signed-off-by: yeya24 <[email protected]>
1 parent 75d7516 commit 595a1d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/prometheus/v1/api.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,9 @@ type API interface {
230230
DeleteSeries(ctx context.Context, matches []string, startTime time.Time, endTime time.Time) error
231231
// Flags returns the flag values that Prometheus was launched with.
232232
Flags(ctx context.Context) (FlagsResult, error)
233-
// LabelNames returns all the unique label names present in the block in sorted order.
233+
// LabelNames returns the unique label names present in the block in sorted order by given time range and matchers.
234234
LabelNames(ctx context.Context, matches []string, startTime time.Time, endTime time.Time) ([]string, Warnings, error)
235-
// LabelValues performs a query for the values of the given label.
235+
// LabelValues performs a query for the values of the given label, time range and matchers.
236236
LabelValues(ctx context.Context, label string, matches []string, startTime time.Time, endTime time.Time) (model.LabelValues, Warnings, error)
237237
// Query performs a query for the given time.
238238
Query(ctx context.Context, query string, ts time.Time) (model.Value, Warnings, error)

0 commit comments

Comments
 (0)