Application Performance Management Plus
Field | Position | Type | Required | Description |
Field | Position | Type | Required | Description |
Action | Query | String | Yes | The action to be performed. Value: Draw. |
Version | Query | String | Yes | API version. Value: 2022-11-09. |
Graph | Body | Query | Yes | |
CurrentVaribaleValues | Body | Array[Varable] | Yes | Pass in an empty array. |
StartTime | Body | Int64 | Yes | Start time. |
EndTime | Body | Int64 | Yes | End time. |
GranularityUnit | Body | String | Yes | Time interval. |
Granularity | Body | Int64 | Yes | Interval. |
Parameters | Type | Required | Description |
Parameters | Type | Required | Description |
Id | String | Yes | An arbitrary value passed in from the frontend. |
GraphType | String | Yes | Dashboard type.
|
Name | String | Yes | An arbitrary value passed in from the frontend. |
TimeSeriesConf | TimeSeriesGraphConfig | No | It can be used when the dashboard type is time_series. For details, see TimeSeriesGraphConfig. |
TableConf | TableGraphConfig | No | It can be used when the dashboard type is table. For details, see TableGraphConfig. |
SingleValueConf | SingleValueGraphConfig | No | It can be used when the dashboard type is single_value. For details, see SingleValueGraphConfig. |
Parameters | Type | Required | Description |
Parameters | Type | Required | Description |
SimpleQueries | Array[TimeSeriesQuery] | Yes | Simple query. For details, see TimeSeriesQuery. |
FormulaQueries | Array[FormulaQuery] | Yes | Formula query. For details, see FormulaQuery. |
Precision | Int32 | Yes | Precision (number of decimal places). |
Marker | Array[Marker] | Yes | Marker. You need to pass in an empty array. |
ShowLegend | Boolean | Yes | Whether to show the legend. |
Legend | Array[String] | Yes | Legend list. |
Name | type | Required | Description |
Name | type | Required | Description |
Id | String | Yes | The query name defined at the frontend. |
Ispromql | Boolean | Yes | Whether it is a PromQL metric. |
Promql | String | No | PromQL query. |
Metric | String | Yes | The metric name. |
Unit | String | Yes | Unit. |
Alphabet | String | Yes | Symbols used in composite metric formulas. |
Alias | String | Yes | Alias. |
MetricCategory | String | Yes | Metric type.
|
MetricSource | String | Yes | Metric type.
|
GroupByFields | Array[String] | Yes | Grouping. tip If the ArkClaw instance has custom tags, you can use these tags in GroupByFields for grouped querying. |
Aggregator | String | Yes | Group aggregation function. |
AddFunc | String | Yes | Post-processing function.
|
Filters | Array[FilterCondition] | Yes | Filter condition. For details, see FilterCondition. tip If the ArkClaw instance has custom tags, you can use these tags in Filters for filtering. |
Hide | Boolean | Yes | Whether to hide. |
CounterAs | String | No | Counter type.
|
Name | Type | Required | Description |
Name | Type | Required | Description |
Id | String | Yes | The query name defined at the frontend. |
Ispromql | Boolean | Yes | Whether it is a PromQL metric. |
Promql | String | No | PromQL query. |
Metric | String | Yes | The metric name. |
Unit | String | Yes | Unit. |
Alphabet | String | Yes | Symbols used in composite metric formulas. |
Alias | String | Yes | Alias. |
MetricCategory | String | Yes | Metric type.
|
MetricSource | String | Yes | Metric type.
|
GroupByFields | Array[String] | Yes | Grouping. tip If the ArkClaw instance has custom tags, you can use these tags in GroupByFields for grouped querying. |
Aggregator | String | Yes | Group aggregation function. |
AddFunc | String | Yes | Post-processing function.
|
Filters | Array[FilterCondition] | Yes | Filter condition. For details, see FilterCondition. tip If the ArkClaw instance has custom tags, you can use these tags in Filters for filtering. |
Hide | Boolean | Yes | Whether to show. |
CounterAs | String | No | Counter type.
|
RollupTimeframeByAggregator | String | No | Time window aggregation method.
|
Name | Type | Required | Description |
Name | Type | Required | Description |
Id | String | Yes | The query name defined at the frontend. |
Ispromql | Boolean | Yes | Whether it is a PromQL metric. |
Promql | String | No | PromQL query. |
Metric | String | Yes | The metric name. |
Unit | String | Yes | Unit. |
Alphabet | String | Yes | Symbols used in composite metric formulas. |
Alias | String | Yes | Alias. |
MetricCategory | String | Yes | Metric type.
|
MetricSource | String | Yes | Metric type.
|
GroupByFields | Array[String] | Yes | Grouping. tip If the ArkClaw instance has custom tags, you can use these tags in GroupByFields for grouped querying. |
Aggregator | String | Yes | Group aggregation function. |
AddFunc | String | Yes | Post-processing function.
|
Filters | Array[FilterCondition] | Yes | Filter condition. For details, see FilterCondition. tip If the ArkClaw instance has custom tags, you can use these tags in Filters for filtering. |
Hide | Boolean | Yes | Whether to hide. |
CounterAs | String | No | Counter type.
|
RollupTimeframeByAggregator | String | Yes | Time window aggregation method.
|
Field | Type | Required | Description |
Field | Type | Required | Description |
Formula | String | Yes | Composite metric calculation formula. |
Alias | String | No | Displayed name. |
Unit | String | No | Unit. |
Alphabet | String | No | Symbols used for calculation formulas. |
Field | type | Description |
Field | type | Description |
SingleValue | SingleValueData | Numeric value dashboard. For details, see SingleValueData. |
Table | TableData | Table dashboard. For details, see TableData. |
TimeSeries | Array[TimeSeriesData] | Time-series data dashboard. For details, see TimeSeriesData. |
Field | Type | Sample value | Description |
Field | Type | Sample value | Description |
Value | String | 100 | Numeric value. |
Unit | String | s | Unit. |
Field | Type | Description |
Field | Type | Description |
Columns | Array[String] | Column name. |
Units | Array[String] | Units that correspond to individual column names. |
Rows | Array[Array[String]] | Numeric value. |
Field | Type | Description |
Field | Type | Description |
QueryId | String | Request ID. It is consistent with the ID in the request. |
Title | String | Title. It is consistent with the Alias field in the request. |
Unit | String | Unit. |
Legend | Legend | Legend. |
Points | Array[SeriesPoint] | Time-series data points. |
Tagkvs | Array[Tagkv] | Label. |
Field | Type | Description |
Field | Type | Description |
Max | Float | Maximum value. |
Min | Float | Minimum value. |
Avg | Float | Average value. |
Current | Float | Current value. |
Field | Type | Description |
Field | Type | Description |
Timestamp | String | Data timestamp. |
Value | String | The value of the data point at this timestamp. |
EndTimestamp | String | End timestamp. It is used for handling multi-point merging. |
Field | Type | Description |
Field | Type | Description |
Key | String | Marker. |
Lable | String | Label. |
Value | String | Marker value. |