You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to connect to uptime.com to be able to get the status of my services and visualize in the grafana, however getting an issue error getting data frame. 401 Unauthorized. As for the prefix it uses not a bearer token I've used the API key value pair type for the authentication and specified "Token" as the key and the token itself as value.
With a usual curl command I was able to get details from uptime.com
Below is the official documentation of uptime.com how the token can be used.
API Access
To access our API programatically, you must pass one of the below API keys via a HTTP Header with a key name of "Authorization" and a key prefix of "Token" with the below API Key.
Raw HTTP Example:
GET /api/v1/
Authorization: Token token_value
CURL Example:
Register for uptime.com(it has a trial option) then by using a token try to visualize some data with it by providing the https://uptime.com/api/v1/ as the URL and authentication mechanism as described.
Screenshots
Version Details:
Grafana version : Grafana v10.4.1
Plugin version : 2.7.0 and 2.7.1
Additional context
Thanks in advance!!
The text was updated successfully, but these errors were encountered:
The Authorization: Token token_value is missing in the query options of Grafana data source based from the shared screenshot. This is likely the cause of the 401 unauthorized error result.
Configuring/adding the API key authentication settings in the Grafana query options would solve this:
Describe the bug
I want to connect to uptime.com to be able to get the status of my services and visualize in the grafana, however getting an issue error getting data frame. 401 Unauthorized. As for the prefix it uses not a bearer token I've used the API key value pair type for the authentication and specified "Token" as the key and the token itself as value.
With a usual curl command I was able to get details from uptime.com
Below is the official documentation of uptime.com how the token can be used.
API Access
To access our API programatically, you must pass one of the below API keys via a HTTP Header with a key name of "Authorization" and a key prefix of "Token" with the below API Key.
Raw HTTP Example:
GET /api/v1/
Authorization: Token token_value
CURL Example:
curl -H "Authorization: Token token_value" https://uptime.com/api/v1/
Steps to reproduce
Provide steps to reproduce the issue.
Register for uptime.com(it has a trial option) then by using a token try to visualize some data with it by providing the https://uptime.com/api/v1/ as the URL and authentication mechanism as described.
Screenshots
Version Details:
Additional context
Thanks in advance!!
The text was updated successfully, but these errors were encountered: