Volcengine Managed Service for Prometheus
Parameter | Type | Required or not | Sample value | Description |
Parameter | Type | Required or not | Sample value | Description |
Action | String | Yes | UpdateIntegrationTask | The name of the API. The name of the current API is UpdateIntegrationTask. |
Version | String | Yes | 2021-03-03 | API version. The API version is 2021-03-03. |
Id | String | Yes | fcbc7eef-2f6c-4247-bce1*** | The ID of the integration task. |
Name | String | No | integration-demo | The name of the integration task.
|
WorkspaceId | String | No | e28ae750-bbb8-4ff4-abf4*** | Workspace ID. |
Params | String | No | {\"JobName\":\"test\",\"ScrapeInterval\":\"1m\",\"Regions\":{\"cn-beijing\":{\"VCM_ALB\":{},\"VCM_ECS\":{}}},\"MetaLabelWithNewMetric\":false,\"RelabelConfigs\":\"- action: drop\\n source_labels:\\n - __name__\\n regex: metricA|metricB\"} | Settings related to the integration task. The value of this parameter must be a string converted from a JSON object. For details, see Params. |
Parameter | Type | Required or not | Sample value | Description |
Parameter | Type | Required or not | Sample value | Description |
JobName | String | No | test | The name of the integration task. |
ScrapeInterval | String | No | 1m | Time interval of collecting metrics.
|
Regions | Object | No | {"cn-beijing": {"VCM_ALB": {}}} | The mapping between cloud services and regions, with the regions as the keys (for example, cn-beijing). |
MetaLabelWithNewMetric | Boolean | No | false | Specifies whether to export metadata labels by using the new metric volc_resource_info.
tip |
ExportedTags | Array of String | No | demo | Label keys to be added to cloud service metrics. |
RelabelConfigs | String | No | - action: drop\n source_labels:\n - __name__\n regex: metricA|metricB |
Parameter | Type | Sample value | Description |
Parameter | Type | Sample value | Description |
Id | String | fcbc7eef-2f6c-4247-bce1*** | The ID of the integration task. |
HTTP status code | Error code | Error message | Description |
HTTP status code | Error code | Error message | Description |
403 | ProductUnsubscribed | You are not subscribed to VMP. Please go to the VMP console web page to subscribe to the service | The account is not subscribed to the VMP service. |
400 | InvalidParameter.{{parameter}} | The specified parameter {{parameter}} is invalid. | An invalid parameter was found. For example, an invalid workspace name was included in requests. |
400 | MissingParameter.{{parameter}} | The required parameter {{parameter}} is missing. | A required parameter is missing. |