-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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
Metrics: Adds setting for turning off total stats metrics #19142
Conversation
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
kylebrandt
reviewed
Sep 16, 2019
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.
kylebrandt
approved these changes
Sep 16, 2019
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.
LGTM once .md doc is updated
torkelo
approved these changes
Sep 17, 2019
papagian
pushed a commit
that referenced
this pull request
Sep 17, 2019
ryantxu
added a commit
to ryantxu/grafana
that referenced
this pull request
Sep 17, 2019
* grafana/master: (23 commits) API: adds redirect helper to simplify http redirects (grafana#19180) docs: image rendering (grafana#19183) Chore: Update latest.json (grafana#19177) Chore: Update version to next (grafana#19169) Docs: What's new in 6.4 update (grafana#19175) Devenv: create slow_proxy_mac (grafana#19174) Chore: Changelog for v6.4.0-beta1 (grafana#19171) Revert "Chore: Update Slate to 0.47.8 (grafana#18412)" (grafana#19167) Chore: Update Slate to 0.47.8 (grafana#18412) Changelog: Breaking changes and deprecation notes for v6.4 (grafana#19164) Docs: What's new 6.4 draft (grafana#19144) Docs: Add docs around feature toggles config (grafana#19162) Azure Monitor: Add support for cross resource queries (grafana#19115) Api: Readonly datasources should not be created via the API (grafana#19006) Explore: Update live tail buttons (grafana#19143) LDAP: only show tab if LDAP is enabled (grafana#19156) TimePicker: Fixes onBlur issue with FireFox on MacOS (grafana#19154) Feature: Encapsulated dynamic imports with error boundary and suspense (grafana#19128) Metrics: Adds setting for turning off total stats metrics (grafana#19142) Add directions for more details provided when not anymore on issue triage (grafana#19116) ...
ryantxu
added a commit
to ryantxu/grafana
that referenced
this pull request
Sep 17, 2019
* grafana/master: (87 commits) API: adds redirect helper to simplify http redirects (grafana#19180) docs: image rendering (grafana#19183) Chore: Update latest.json (grafana#19177) Chore: Update version to next (grafana#19169) Docs: What's new in 6.4 update (grafana#19175) Devenv: create slow_proxy_mac (grafana#19174) Chore: Changelog for v6.4.0-beta1 (grafana#19171) Revert "Chore: Update Slate to 0.47.8 (grafana#18412)" (grafana#19167) Chore: Update Slate to 0.47.8 (grafana#18412) Changelog: Breaking changes and deprecation notes for v6.4 (grafana#19164) Docs: What's new 6.4 draft (grafana#19144) Docs: Add docs around feature toggles config (grafana#19162) Azure Monitor: Add support for cross resource queries (grafana#19115) Api: Readonly datasources should not be created via the API (grafana#19006) Explore: Update live tail buttons (grafana#19143) LDAP: only show tab if LDAP is enabled (grafana#19156) TimePicker: Fixes onBlur issue with FireFox on MacOS (grafana#19154) Feature: Encapsulated dynamic imports with error boundary and suspense (grafana#19128) Metrics: Adds setting for turning off total stats metrics (grafana#19142) Add directions for more details provided when not anymore on issue triage (grafana#19116) ...
papagian
pushed a commit
that referenced
this pull request
Sep 23, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Update of total stats (stat_totals_*) metrics shouldn't be made when metrics endpoint is disabled.
Generation of total stats metrics is made each minute and can add quite high load on a database so for those that still want metrics endpoint enabled, but without total stats metrics, we introduce a new setting
disable_total_stats
to configure that.Which issue(s) this PR fixes:
Ref #19137
Special notes for your reviewer: