Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thardie
Copy link

@thardie thardie commented Dec 15, 2016

This means you can use graphite derivative or perSecond functions to get more accurate values over time

@coveralls
Copy link

coveralls commented Dec 15, 2016

Coverage Status

Coverage remained the same at 59.729% when pulling 7fba35b on thardie:bind9-derivative into f4a523f on python-diamond:master.

@@ -32,6 +32,7 @@ publish | resolver, server, zonemgmt, sockets, memory, | Available stats:<br>
| list
Copy link
Member

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
Copy link
Member

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

Copy link
Author

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?

Copy link
Member

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,
Copy link
Member

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
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.8%) to 58.937% when pulling ed8e3cd on thardie:bind9-derivative into f4a523f on python-diamond:master.

@shortdudey123
Copy link
Member

last thing: alphabetize derivative in docs/collectors/BindCollector.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants