Skip to content

Adding an option to turn off derivatives of values for bind collector - #563

Open
thardie wants to merge 1 commit into
python-diamond:masterfrom
thardie:bind9-derivative
Open

Adding an option to turn off derivatives of values for bind collector#563
thardie wants to merge 1 commit into
python-diamond:masterfrom
thardie:bind9-derivative

Conversation

@thardie

Copy link
Copy Markdown

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

@coveralls

coveralls commented Dec 15, 2016

Copy link
Copy Markdown

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
Copy Markdown
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

| list
publish_view_bind | False | | bool
publish_view_meta | False | | bool
derivative | True | Report derived stats or raw (always incrementing) | bool

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

# By default we don't publish these special views
'publish_view_bind': False,
'publish_view_meta': False,
'derivative': True,

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

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

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

Sign up for freeto 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

@thardie@coveralls@shortdudey123