Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions api/prometheus/v1/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,8 @@ type API interface {
TSDB(ctx context.Context, opts ...Option) (TSDBResult, error)
// WalReplay returns the current replay status of the wal.
WalReplay(ctx context.Context) (WalReplayStatus, error)
// FormatQuery formats a PromQL expression in a prettified way.
FormatQuery(ctx context.Context, query string) (string, error)
}

// AlertsResult contains the result from querying the alerts endpoint.
Expand Down
Loading