We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40dd084 commit 1f3a904Copy full SHA for 1f3a904
api/prometheus/v1/api.go
@@ -506,6 +506,8 @@ type API interface {
506
TSDB(ctx context.Context, opts ...Option) (TSDBResult, error)
507
// WalReplay returns the current replay status of the wal.
508
WalReplay(ctx context.Context) (WalReplayStatus, error)
509
+ // FormatQuery formats a PromQL expression in a prettified way.
510
+ FormatQuery(ctx context.Context, query string) (string, error)
511
}
512
513
// AlertsResult contains the result from querying the alerts endpoint.
0 commit comments