-
Notifications
You must be signed in to change notification settings - Fork 3
dropcaches
LUYONGQIANG edited this page Nov 29, 2019
·
6 revisions
This endpoint purges the in-memory data cached in OpenTSDB. This includes all UID to name and name to UID maps for metrics, tag names and tag values. http://opentsdb.net/docs/build/html/api_http/dropcaches.html
ApiUrlConfig.ChangeBaseUrl("http://192.168.1.22:4242/");
OpenTsdbClient apiClient = new OpenTsdbClient();
var result = await apiClient.GetAsync<dynamic>("api/dropcaches");
Console.WriteLine(result);{
"message": "Caches dropped",
"status": "200"
}