forked from scylladb/seastar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scollectd: Allow creating metric that is disabled
There are cases (specifically smp) that metrics are better be unpublished by default. To support that a varienet of the collectd helper function was added: add_disabled_polled_metric. Metrics that are created with this function will be disabled until they would be set explicitly. The add_polled helper function now gets an optional enabled param (default to true) that state if the metrics is enable or disable. Signed-off-by: Amnon Heiman <[email protected]> Message-Id: <[email protected]>
- Loading branch information
Showing
3 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters