Skip to content

Commit 88e96c9

Browse files
authored
Merge pull request #846 from simonpasquier/remove-obsolete-doc
chore: remove mentions of query(-range)?.endpoint
2 parents 9e931b5 + 36cdcc3 commit 88e96c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Usage of ./observatorium-api:
120120
-metrics.alertmanager.endpoint string
121121
The endpoint against which to make requests for alerts and silences
122122
-metrics.read.endpoint string
123-
The endpoint against which to send read requests for metrics. It used as a fallback to 'query.endpoint' and 'query-range.endpoint'.
123+
The endpoint against which to send read requests for metrics.
124124
-metrics.rules.endpoint string
125125
The endpoint against which to make get requests for listing recording/alerting rules and put requests for creating/updating recording/alerting rules.
126126
-metrics.tenant-header string

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1185,7 +1185,7 @@ func parseFlags() (config, error) {
11851185
flag.StringVar(&rawLogsAuthExtractSelectors, "logs.auth.extract-selectors", "",
11861186
"Comma-separated list of stream selectors that should be extracted from queries and sent to OPA during authorization.")
11871187
flag.StringVar(&rawMetricsReadEndpoint, "metrics.read.endpoint", "",
1188-
"The endpoint against which to send read requests for metrics. It used as a fallback to 'query.endpoint' and 'query-range.endpoint'.")
1188+
"The endpoint against which to send read requests for metrics.")
11891189
flag.StringVar(&rawMetricsWriteEndpoint, "metrics.write.endpoint", "",
11901190
"The endpoint against which to make write requests for metrics.")
11911191
flag.StringVar(&rawMetricsRulesEndpoint, "metrics.rules.endpoint", "",

0 commit comments

Comments
 (0)