All Products
Search
Document Center

Application Real-Time Monitoring Service:ListDashboards

Last Updated:Jul 04, 2024

Queries the Grafana dashboards of a Container Service for Kubernetes (ACK) cluster.

Operation description

None.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID.

cn-hangzhou
ClusterIdstringYes

The ID of the ACK cluster.

cc7a37ee31aea4ed1a059eff8034b****
ClusterTypestringNo

Valid values: ACK, ASK, cloud-product-prometheus, and Node. You can query the dashboards of a virtual cluster by specifying the cluster type. For InfluxDB, set this parameter to cloud-product-prometheus.

Node
LanguagestringNo

The language of the returned Grafana dashboard. Valid values: en and zh. Default value: en.

en
TitlestringNo

The dashboard title. The dashboard title can be changed. We recommend that you specify the DashboardName parameter.

ApiServer
ProductstringNo

The cloud service code. This parameter is required if you set the ClusterType parameter to cloud-product-prometheus. The following cloud services are available: Serverless App Engine, Microservices Engine, Message Queue for Apache RocketMQ, Lindorm, Message Queue for Apache Kafka, ApsaraDB for ClickHouse, Data Lake Analytics, Message Queue for RabbitMQ, ApsaraDB for MongoDB, Time Series Database (TSDB) for InfluxDB, MSE Cloud-native Gateway, Grafana Service, SchedulerX, Global Transaction Service, Enterprise Distributed Application Service, Machine Learning Platform for AI - Elastic Algorithm Service (EAS), Application High Availability Service, and Performance Testing.

xxxx
RecreateSwitchbooleanNo

Specifies whether to create or query a virtual cluster. This parameter provides backward compatibility.

false
DashboardNamestringNo

The unique names of the dashboards. You can query dashboards by specifying their names. The dashboard title can be changed whereas the dashboard name cannot. You can specify multiple names and separate them with commas (,), for example, k8s-event,k8s-overview. A dashboard may have multiple versions. If you want to specify a version, you can add version information after the name, for example, k8s-event:v1,k8s-overview:latest.

k8s-node-overview

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

2A0CEDF1-06FE-44AC-8E21-21A5BE65****
DashboardVosarray<object>

The information about the Grafana dashboard.

object

The information about the Grafana dashboard.

Typestring

The type of the Grafana dashboard. Valid values:

  • dash-db: a dashboard
  • dash-folder: a folder that can include a dashboard
dash-db
Timestring

The timestamp generated when the Grafana dashboard was created. Unit: seconds

1590136924
NeedUpdateboolean

Indicates whether the Grafana dashboard has a new version that was available for upgrade.

false
Kindstring

The type of the dashboard. Valid values: BASIC, THIRD, LIMIT, and CUSTOM. BASIC indicates a basic dashboard. THIRD indicates a third-party dashboard. LIMIT indicates a time-limited free dashboard. CUSTOM indicates a custom dashboard.

BASIC
Languagestring

The language of the Grafana dashboard.

en
Urlstring

The complete URL of the Grafana dashboard.

http://g.console.aliyun.com/d/1131971649496228-*****-59/ApiServer?orgId=3**&refresh=60s
HttpsUrlstring

The URL of the Grafana dashboard.

http://g.console.aliyun.com/d/1131971649496228-*****-59/ApiServer?orgId=3**&refresh=60s
DashboardTypestring

The type of the Grafana dashboard. This parameter has the same effect as the Exporter parameter whereas provides clearer implication.

Node
Exporterstring

The type of the exporter access source. Valid values:

  • Prometheus
  • Node
  • GPU
  • Redis
  • MySQL
  • Kafka
  • NGINX V2
  • Nginx
  • ZooKeeper
  • MongoDB
  • RabbitMQ
  • PostgreSQL
  • Kubernetes
  • Client Library
  • Elasticsearch
  • RocketMQ
Nginx
Versionstring

The version of the Grafana dashboard. The combination of version and name uniquely identifies a dashboard.

v2
IsArmsExporterboolean

Indicates whether the exporter was provided by ARMS. Valid values:

  • true: The exporter is provided by ARMS.
  • false: The exporter is not provided by ARMS.
false
HttpUrlstring

The URL of the Grafana dashboard.

http://g.console.aliyun.com/d/1131971649496228-*****-59/ApiServer?orgId=3**&refresh=60s
Titlestring

The title of the Grafana dashboard.

ApiServer
Namestring

The name of the Grafana dashboard. This parameter is different from the Title parameter as this parameter cannot be changed.

k8s-node-overview
Idstring

The ID of the Grafana dashboard. The value is unique only when you install the Grafana dashboard.

1100**
Uidstring

The unique identifier of a dashboard when multiple Grafana dashboards were installed. It is a unique business ID displayed on the page.

1131971649496228-*****-59
Tagsarray

The tags of the Grafana dashboard.

string

The tag of the Grafana dashboard.

["arms-k8s","ccc8ce1fe0c9543629e39ee657e34****"]
I18nChildobject

The information about the Grafana dashboards.

Typestring

The type of the Grafana dashboard. Valid values:

  • dash-db: a dashboard
  • dash-folder: a folder that can include a dashboard
dash-db
Timestring

The timestamp when the Grafana dashboard was created.

1590136924
NeedUpdateboolean

Indicates whether the Grafana dashboard has a new version that was available for upgrade.

false
Kindstring

The category of the Grafana dashboard. Valid values: BASIC, THIRD, LIMIT, and CUSTOM.

BASIC
Languagestring

The language of the Grafana dashboard.

zh
Urlstring

The complete URL of the Grafana dashboard.

http://g.console.aliyun.com/d/1131971649496228-*****-59/ApiServer?orgId=3**&refresh=60s
HttpsUrlstring

The URL of the Grafana dashboard.

http://g.console.aliyun.com/d/1131971649496228-*****-59/ApiServer?orgId=3**&refresh=60s
DashboardTypestring

The type of the Grafana dashboard. This parameter has the same effect as the Exporter parameter whereas provides clearer implication.

Node
Exporterstring

The type of the exporter access source. Valid values:

  • Prometheus
  • Node
  • GPU
  • Redis
  • MySQL
  • Kafka
  • NGINX V2
  • Nginx
  • ZooKeeper
  • MongoDB
  • RabbitMQ
  • PostgreSQL
  • Kubernetes
  • Client Library
  • Elasticsearch
  • RocketMQ
Nginx
Versionstring

The version of the Grafana dashboard. The combination of version and name uniquely identifies a dashboard.

v2
IsArmsExporterboolean

Indicates whether the exporter was provided by ARMS. Valid values:

  • true: The exporter is provided by ARMS.
  • false: The exporter is not provided by ARMS.
false
HttpUrlstring

The URL of the Grafana dashboard.

http://g.console.aliyun.com/d/1131971649496228-*****-59/ApiServer?orgId=3**&refresh=60s
Titlestring

The title of the Grafana dashboard.

ApiServer
Namestring

The name of the Grafana dashboard. This parameter is different from the Title parameter as this parameter cannot be changed.

k8s-node-overview
Idstring

The ID of the Grafana dashboard. The value is unique only when you install the Grafana dashboard.

1100**
Uidstring

The unique identifier of a dashboard when multiple Grafana dashboards were installed. It is a unique business ID displayed on the page.

1131971649496228-*****-59
Tagsarray

The tags of the Grafana dashboard.

string

The tag of the Grafana dashboard.

["arms-k8s","ccc8ce1fe0c9543629e39ee657e34****"]
PrometheusServiceOpenedstring

Whether or not to turn on Prometheus service.

true
EnvironmentIdstring

The environment ID.

env-ebd54733482581fc8c4237******
GrafanaServiceOpenedstring

Whether to enable Grafana service.

true

Examples

Sample success responses

JSONformat

{
  "RequestId": "2A0CEDF1-06FE-44AC-8E21-21A5BE65****",
  "DashboardVos": [
    {
      "Type": "dash-db",
      "Time": "1590136924",
      "NeedUpdate": false,
      "Kind": "BASIC",
      "Language": "en",
      "Url": "http://g.console.aliyun.com/d/1131971649496228-*****-59/ApiServer?orgId=3**&refresh=60s",
      "HttpsUrl": "http://g.console.aliyun.com/d/1131971649496228-*****-59/ApiServer?orgId=3**&refresh=60s",
      "DashboardType": "Node",
      "Exporter": "Nginx",
      "Version": "v2",
      "IsArmsExporter": false,
      "HttpUrl": "http://g.console.aliyun.com/d/1131971649496228-*****-59/ApiServer?orgId=3**&refresh=60s",
      "Title": "ApiServer",
      "Name": "k8s-node-overview",
      "Id": "1100**",
      "Uid": "1131971649496228-*****-59",
      "Tags": [
        "[\"arms-k8s\",\"ccc8ce1fe0c9543629e39ee657e34****\"]"
      ],
      "I18nChild": {
        "Type": "dash-db",
        "Time": "1590136924",
        "NeedUpdate": false,
        "Kind": "BASIC",
        "Language": "zh",
        "Url": "http://g.console.aliyun.com/d/1131971649496228-*****-59/ApiServer?orgId=3**&refresh=60s",
        "HttpsUrl": "http://g.console.aliyun.com/d/1131971649496228-*****-59/ApiServer?orgId=3**&refresh=60s",
        "DashboardType": "Node",
        "Exporter": "Nginx",
        "Version": "v2",
        "IsArmsExporter": false,
        "HttpUrl": "http://g.console.aliyun.com/d/1131971649496228-*****-59/ApiServer?orgId=3**&refresh=60s",
        "Title": "ApiServer",
        "Name": "k8s-node-overview",
        "Id": "1100**",
        "Uid": "1131971649496228-*****-59",
        "Tags": [
          "[\"arms-k8s\",\"ccc8ce1fe0c9543629e39ee657e34****\"]"
        ]
      }
    }
  ],
  "PrometheusServiceOpened": "true",
  "EnvironmentId": "env-ebd54733482581fc8c4237******",
  "GrafanaServiceOpened": "true"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-04-02The response structure of the API has changedView Change Details
2023-12-14The response structure of the API has changedView Change Details
2023-08-30The response structure of the API has changedView Change Details
2021-11-25The request parameters of the API has changedView Change Details