Get a data source for a given account
GET/v1/grafana/api/datasources/name/:metric_account_name/summary
Get a data source for a given account. Please ensure to change the region in the URL to match your account's region.
Request
Path Parameters
metric_account_name stringrequired
Responses
- 200
- 404
successful query
- application/json
- Schema
- Example (from schema)
Schema
id integer
Data source Id
uid string
Data source UID
name string
Data source name
type string
Enum for the data source type. Can be eithern prometheus or elasticsearch.
database string
Metrics account ID
{
"id": 123,
"uid": "DCFaFyDnk",
"name": "cluster6_metrics",
"type": "prometheus",
"database": 123456
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "Data source not found."
}
Loading...