curl --location --request POST 'https://api.flashcat.cloud/api/n9e-plus/ds-query' \
--header 'X-User-Token: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"cate": "aliyun-sls",
"cluster": "sls_test",
"query": [
{
"project": "grafana-test",
"logstore": "test",
"from": 1668409660,
"to": 1668409660,
"lines": 10,
"offset": 0,
"reverse": false,
"power_sql": false,
"keys": {
"valueKey": "PV",
"labelKey": "",
"timeKey": "Time",
"timeFormat": "%H:%i:%s"
}
}
]
}'{
"dat": [
{
"metric": {
"__name__": "PV"
},
"values": [
[
0,
0
],
[
0,
0
],
[
0,
59
],
[
0,
85
],
[
0,
86
],
[
0,
85
],
[
0,
85
],
[
0,
84
],
[
0,
84
],
[
0,
85
],
[
0,
44
]
]
}
],
"err": ""
}