-
Notifications
You must be signed in to change notification settings - Fork 600
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding an option to turn off derivatives of values for bind collector #563
base: master
Are you sure you want to change the base?
Conversation
@@ -32,6 +32,7 @@ publish | resolver, server, zonemgmt, sockets, memory, | Available stats:<br> | |||
| list |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mode change???
100644 → 100755
@@ -32,6 +32,7 @@ publish | resolver, server, zonemgmt, sockets, memory, | Available stats:<br> | |||
| list | |||
publish_view_bind | False | | bool | |||
publish_view_meta | False | | bool | |||
derivative | True | Report derived stats or raw (always incrementing) | bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be auto-generated from get_default_config
, not manually edited
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, not familiar with this - Can you give me a pointer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 ways you can fix it:
- use
build_doc.py
- alphabetize and add the same exact text to the
get_default_config
function in the code
@@ -63,13 +64,15 @@ def get_default_config(self): | |||
# By default we don't publish these special views | |||
'publish_view_bind': False, | |||
'publish_view_meta': False, | |||
'derivative': True, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to add this to get_default_config
as well
means you can use graphite derivative or perSecond functions to get more accurate values over time
7fba35b
to
ed8e3cd
Compare
last thing: alphabetize |
This means you can use graphite derivative or perSecond functions to get more accurate values over time