mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-27 03:45:11 +00:00
This adds the implementation to the enable and disable of the collectd metrics. An example for disabling all collectd metrics that has write in their type_instance part: curl -X POST --header "Content-Type: application/json" --header "Accept: application/json" "http://localhost:10000/collectd/.*?instance=.*&type=.*&type_instance=.*write.*&enable=false" After that a call to: curl -X GET "http://localhost:10000/collectd/" Would return those metrics with the enable set to "false" An example to enable all the metrics in cache that their type starts with byt: curl -X POST --header "Content-Type: application/json" --header "Accept: application/json" "http://localhost:10000/collectd/cache?type=byt.*&enable=true" Signed-off-by: Amnon Heiman <amnon@scylladb.com> Message-Id: <1466932139-19264-3-git-send-email-amnon@scylladb.com>
4.7 KiB
4.7 KiB