Skip to content

Commit f7af405

Browse files
authored
Merge pull request #73397 from bburt-rh/OBSDOCS-67-note-for-monitoring-routes-not-available-in-browser
OBSDOCS-67: Add info that monitoring API routes are not available in web browsers
2 parents 3b370a7 + cd9db5b commit f7af405

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

modules/monitoring-about-accessing-monitoring-web-service-apis.adoc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,9 @@ You can directly access web service API endpoints from the command line for the
1818
To access Thanos Ruler and Thanos Querier service APIs, the requesting account must have `get` permission on the namespaces resource, which can be granted by binding the `cluster-monitoring-view` cluster role to the account.
1919
====
2020

21-
Accessing web service APIs only supports using a Bearer Token for authentication.
21+
When you access web service API endpoints for monitoring components, be aware of the following limitations:
22+
23+
* You can only use Bearer Token authentication to access API endpoints.
24+
* You can only access endpoints in the `/api` path for a route.
25+
If you try to access an API endpoint in a web browser, an `Application is not available` error occurs.
26+
To access monitoring features in a web browser, use the {product-title} web console to review monitoring dashboards.

monitoring/accessing-third-party-monitoring-apis.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ To avoid these issues, follow these recommendations:
2121

2222
// Accessing service APIs for third-party monitoring components
2323
include::modules/monitoring-about-accessing-monitoring-web-service-apis.adoc[leveloffset=+1]
24+
25+
.Additional resources
26+
* xref:../monitoring/reviewing-monitoring-dashboards.adoc#reviewing-monitoring-dashboards[Reviewing monitoring dashboards]
27+
2428
include::modules/monitoring-accessing-third-party-monitoring-web-service-apis.adoc[leveloffset=+1]
2529

2630
// Querying metrics by using the federation endpoint for Prometheus

0 commit comments

Comments
 (0)