tencent cloud

All product documents
Deleting Metric
Last updated: 2025-01-03 10:36:24
Deleting Metric
Last updated: 2025-01-03 10:36:24

Request Address

The address is the instance IP and port, such as 10.13.20.15:9200, which can be obtained in the console.

Request Path and Method

Path: /_metric/${metric_name}, where ${metric_name} is the name of the metric to be deleted. Method: DELETE

Request Parameters

None

Request Content

None

Response Content

You need to judge whether a request is successful based on the error field. If the response content contains the error field, the request failed. For the error details, please see the error field description.

Sample Code for curl

Request: DELETE /_metric/ctsdb_test1 Request: curl -u root:le201909 -H 'Content-Type:application/json' -X DELETE 172.16.345.14:9201/_metric/ctsdb_test1
Response:
{
"acknowledged": true,
"message": "delete metric ctsdb_test1 success!"
}
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon