diff --git a/modules/monitoring-about-accessing-monitoring-web-service-apis.adoc b/modules/monitoring-about-accessing-monitoring-web-service-apis.adoc index fe85325829d9..dc0eb481cee4 100644 --- a/modules/monitoring-about-accessing-monitoring-web-service-apis.adoc +++ b/modules/monitoring-about-accessing-monitoring-web-service-apis.adoc @@ -18,4 +18,9 @@ You can directly access web service API endpoints from the command line for the 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. ==== -Accessing web service APIs only supports using a Bearer Token for authentication. +When you access web service API endpoints for monitoring components, be aware of the following limitations: + +* You can only use Bearer Token authentication to access API endpoints. +* You can only access endpoints in the `/api` path for a route. +If you try to access an API endpoint in a web browser, an `Application is not available` error occurs. +To access monitoring features in a web browser, use the {product-title} web console to review monitoring dashboards. diff --git a/monitoring/accessing-third-party-monitoring-apis.adoc b/monitoring/accessing-third-party-monitoring-apis.adoc index 0ee5390c13c5..067d9068f270 100644 --- a/monitoring/accessing-third-party-monitoring-apis.adoc +++ b/monitoring/accessing-third-party-monitoring-apis.adoc @@ -21,6 +21,10 @@ To avoid these issues, follow these recommendations: // Accessing service APIs for third-party monitoring components include::modules/monitoring-about-accessing-monitoring-web-service-apis.adoc[leveloffset=+1] + +.Additional resources +* xref:../monitoring/reviewing-monitoring-dashboards.adoc#reviewing-monitoring-dashboards[Reviewing monitoring dashboards] + include::modules/monitoring-accessing-third-party-monitoring-web-service-apis.adoc[leveloffset=+1] // Querying metrics by using the federation endpoint for Prometheus