Creates a Grafana dashboard with Loki and other data sources in Managed Service for Prometheus.
This API has been deprecated with no replacement. While temporary access is maintained, no further updates or bug fixes will be provided. To ensure continued functionality, plan your migration and contact your account manager for support.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region. |
cn-hangzhou |
| ClusterId |
string |
No |
The cluster ID. If ClusterType is not set to |
cc7a37ee31aea4ed1a059eff8034b**** |
| DataSourceType |
string |
No |
The type of the data source. Valid values:
|
loki |
| ClusterType |
string |
No |
The cluster type. Valid values:
|
cloud-product-prometheus |
| ProductCode |
string |
No |
The abbreviation of the Alibaba Cloud service name. |
edas |
| GroupName |
string |
No |
The name of the dashboard group. |
EDAS |
| DashBoardName |
string |
No |
The name of the dashboard. |
edas-ingress-url |
| DashBoardVersion |
string |
No |
The version of the dashboard. |
latest |
| OnlyQuery |
boolean |
No |
Specifies whether to display the Grafana dashboard only in the ARMS console. |
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Data |
string |
The returned struct. |
[{"name":"Edas Ingress Url Analysis","type":"edas-ingress-url-analysis","url":"https://g.console.alibabacloud.com/d/1036052989950239-11040375-66-3/edas-ingress-url-analysis?var-clusterId=29ksa&var-regionId=cn-hangzhou"}] |
| RequestId |
string |
The request ID. You can use it to locate logs and troubleshoot issues. |
2983BEF7-4A0D-47A2-94A2-8E9C5E63**** |
| Code |
integer |
The status code. 200 indicates success. Other values indicate errors. |
200 |
| Message |
string |
The returned message. |
success |
Examples
Success response
JSON format
{
"Data": "[{\"name\":\"Edas Ingress Url Analysis\",\"type\":\"edas-ingress-url-analysis\",\"url\":\"https://g.console.alibabacloud.com/d/1036052989950239-11040375-66-3/edas-ingress-url-analysis?var-clusterId=29ksa&var-regionId=cn-hangzhou\"}]",
"RequestId": "2983BEF7-4A0D-47A2-94A2-8E9C5E63****",
"Code": 200,
"Message": "success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.