All Products
Search
Document Center

:ListDashboardDetails

Last Updated:Jan 15, 2021

Description

Queries the metric details of a specified instance based on specified conditions.

Method

GET

URI

/openapi/instances/{instanceId}/dashboard/details

Request parameters

Parameter

Type

Required

Description

startTime

Long

Yes

The beginning of the time range to query. The value of this parameter must be accurate to the second.

endTime

Long

Yes

The end of the time range to query. The value of this parameter must be accurate to the second.

traceIds

String

Yes

The trace ID.

sceneIds

String

Yes

The ID of the scene.

metricType

String

Yes

The metric type. Valid values: USER_PV_CTR, USER_UV_CTR. USER_PV_CVR (exclusive for e-commerce), USER_UV_CVR (exclusive for e-commerce), and USER_DAUUSER_MAU.

Response parameters

Parameter

Type

Description

RequestId

String

The ID of the request.

Result

List

Details about the metrics.

Sample requests

GET /openapi/instances/airec-cn-xxxxx/dashboard/details?startTime=1541001600000
&endTime=1541174400000&traceIds=alibaba&sceneIds=1&metricType=xxx

Sample responses

JSON format

{
    "RequestId": "16B78383-2803-4964-9605-37B30C073B0E",
    "Result": [
    {
        "TraceId":"alibaba",
        "SceneId":"scene_id1",
        "MetricRes":{
            "Total":{
                "Vval":0,
                "Min":0,
                "Avg":0,
                "Max":0,
                "Last7dayCompare":0,
                "StartTime":1588521600,
                "EndTime":1588525200,
                "LastDayCompare":0
            },
            "Detail":[
                {
                    "Val":0,
                    "Last7dayCompare":0,
                    "StartTime":1588003200,
                    "EndTime":1588006800,
                    "LastDayCompare":0
                },
                {
                    "Val":0,
                    "Last7dayCompare":0,
                    "StartTime":1588089600,
                    "EndTime":1588093200,
                    "LastDayCompare":0
                },
                {
                    "Val":0,
                    "Last7dayCompare":0,
                    "StartTime":1588176000,
                    "EndTime":1588179600,
                    "LastDayCompare":0
                },
                {
                    "Val":0,
                    "Last7dayCompare":0,
                    "StartTime":1588262400,
                    "EndTime":1588266000,
                    "LastDayCompare":0
                },
                {
                    "Val":0,
                    "Last7dayCompare":0,
                    "StartTime":1588348800,
                    "EndTime":1588352400,
                    "LastDayCompare":0
                },
                {
                    "Val":0,
                    "Last7dayCompare":0,
                    "StartTime":1588435200,
                    "EndTime":1588438800,
                    "LastDayCompare":0
                },
                {
                    "Val":0,
                    "Last7dayCompare":0,
                    "StartTime":1588521600,
                    "EndTime":1588525200,
                    "LastDayCompare":0
                }
            ]
        }
    },
    {
        "TraceId":"alibaba",
        "SceneId":"all",
        "MetricRes":{
            "Total":{
                "Val":0,
                "Min":0,
                "Avg":0,
                "Max":0,
                "Last7dayCompare":0,
                "StartTime":1588521600,
                "EndTime":1588525200,
                "LastDayCompare":0
            },
            "Detail":[
                {
                    "Val":0,
                    "Last7dayCompare":0,
                    "StartTime":1588003200,
                    "EndTime":1588006800,
                    "LastDayCompare":0
                },
                {
                    "Val":0,
                    "Last7dayCompare":0,
                    "StartTime":1588089600,
                    "EndTime":1588093200,
                    "LastDayCompare":0
                },
                {
                    "Val":0,
                    "Last7dayCompare":0,
                    "StartTime":1588176000,
                    "EndTime":1588179600,
                    "LastDayCompare":0
                },
                {
                    "Val":0,
                    "Last7dayCompare":0,
                    "StartTime":1588262400,
                    "EndTime":1588266000,
                    "LastDayCompare":0
                },
                {
                    "Val":0,
                    "Last7dayCompare":0,
                    "StartTime":1588348800,
                    "EndTime":1588352400,
                    "LastDayCompare":0
                },
                {
                    "Val":0,
                    "Last7dayCompare":0,
                    "StartTime":1588435200,
                    "EndTime":1588438800,
                    "LastDayCompare":0
                },
                {
                    "Val":0,
                    "Last7dayCompare":0,
                    "StartTime":1588521600,
                    "EndTime":1588525200,
                    "LastDayCompare":0
                }
            ]
        }
    }
]
}