Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -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.
4 changes: 4 additions & 0 deletions monitoring/accessing-third-party-monitoring-apis.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down