10.13.20.15:9200
, which can be obtained in the console./_metric/${metric_name}/delete
, where ${metric_name}
is the metric name.
Method: PUTParameter | Required | Type | Description |
tags | No | Array | Enumeration of the tag fields to be deleted, such as "tags": ["ip"] . |
fields | No | Array | Enumeration of the data fields to be deleted, such as "fields": ["diskUsage"] . |
GET /_metric/${metric_name}?v
API. For more information about child metric, see Creating Metric.error
field. If the response content contains the error
field, the request failed. For the error details, see the error
field description.curl -u root:le201909 -H 'Content-Type:application/json' -X PUT 172.xx.xx.4:9201/_metric/ctsdb_test1/delete -d'{"tags": ["ip"],"fields": ["cpu"]}'
{"acknowledged": true,"message": "update ctsdb_test1 metric success!"}
Was this page helpful?