Skip to content

Exclude usage stats when exclude_usage flag is specified - #35691

Merged
ycombinator merged 6 commits into
elastic:masterfrom
ycombinator:kb-stats-exclude-usage
Apr 27, 2019
Merged

ycombinator merged 6 commits into
elastic:masterfrom
ycombinator:kb-stats-exclude-usage

Conversation

@ycombinator

@ycombinator ycombinator commented Apr 26, 2019 •

Copy link
Copy Markdown
Contributor

Related: #34609.

This PR augments the GET /api/stats API to take an optional exclude_usage flag. The default value of this flag is false. When this flag is set, the usage part of the API response will be... 🥁 ... excluded from the response.

@pickypg pickypg left a comment

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.

Workflow LGTM. Creative Promise usage.

@ycombinator ycombinator changed the title [WIP] Exclude usage stats when exclude_usage flag is specified Exclude usage stats when exclude_usage flag is specified Apr 26, 2019
@elasticmachine

Copy link
Copy Markdown
Contributor

💔 Build Failed

@ycombinator

Copy link
Copy Markdown
Contributor Author

jenkins, test this

@ycombinator
ycombinator force-pushed the kb-stats-exclude-usage branch from 560c673 to dca4cde Compare April 27, 2019 00:17
@elasticmachine

Copy link
Copy Markdown
Contributor

💔 Build Failed

@elasticmachine

Copy link
Copy Markdown
Contributor

💔 Build Failed

@elasticmachine

Copy link
Copy Markdown
Contributor

💔 Build Failed

@ycombinator

Copy link
Copy Markdown
Contributor Author

retest

@elasticmachine

Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@ycombinator
ycombinator merged commit 0b92436 into elastic:master Apr 27, 2019
@ycombinator
ycombinator deleted the kb-stats-exclude-usage branch April 27, 2019 04:52
ycombinator added a commit to ycombinator/kibana that referenced this pull request Apr 27, 2019
…5691)

* Exclude usage stats when `exclude_usage` flag is specified

* Entirely excluding the usage key altogether

* Adding API integration test

* Fixing param name in comment + adding more info to comment

* Fix API test copy-pasta

* Fixing test assertion syntax
ycombinator added a commit to ycombinator/kibana that referenced this pull request Apr 27, 2019
…5691)

* Exclude usage stats when `exclude_usage` flag is specified

* Entirely excluding the usage key altogether

* Adding API integration test

* Fixing param name in comment + adding more info to comment

* Fix API test copy-pasta

* Fixing test assertion syntax
ycombinator added a commit to ycombinator/kibana that referenced this pull request Apr 27, 2019
…5691)

* Exclude usage stats when `exclude_usage` flag is specified

* Entirely excluding the usage key altogether

* Adding API integration test

* Fixing param name in comment + adding more info to comment

* Fix API test copy-pasta

* Fixing test assertion syntax
ycombinator added a commit that referenced this pull request Apr 27, 2019
) (#35701)

* Exclude usage stats when `exclude_usage` flag is specified

* Entirely excluding the usage key altogether

* Adding API integration test

* Fixing param name in comment + adding more info to comment

* Fix API test copy-pasta

* Fixing test assertion syntax
ycombinator added a commit that referenced this pull request Apr 27, 2019
) (#35700)

* Exclude usage stats when `exclude_usage` flag is specified

* Entirely excluding the usage key altogether

* Adding API integration test

* Fixing param name in comment + adding more info to comment

* Fix API test copy-pasta

* Fixing test assertion syntax
ycombinator added a commit that referenced this pull request Apr 28, 2019
) (#35702)

* Exclude usage stats when `exclude_usage` flag is specified

* Entirely excluding the usage key altogether

* Adding API integration test

* Fixing param name in comment + adding more info to comment

* Fix API test copy-pasta

* Fixing test assertion syntax
@ycombinator ycombinator added v6.7.2 and removed v6.7.3 labels Apr 28, 2019
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request May 6, 2026
…5691)

* Exclude usage stats when `exclude_usage` flag is specified

* Entirely excluding the usage key altogether

* Adding API integration test

* Fixing param name in comment + adding more info to comment

* Fix API test copy-pasta

* Fixing test assertion syntax
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.

4 participants