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

Aggregate queue types being used by Beats #59850

Merged

Conversation

ycombinator
Copy link
Contributor

@ycombinator ycombinator commented Mar 11, 2020

Summary

This PR teaches the telemetry collection code in Kibana to count the various queue types (mem or spool) used by Beats in a cluster.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@ycombinator ycombinator added the WIP Work in progress label Mar 11, 2020
@ycombinator ycombinator force-pushed the monitoring/telemetry/beats/state/queue branch from 4c54413 to 527b2fd Compare March 11, 2020 18:06
@ycombinator ycombinator requested a review from a team March 11, 2020 18:20
@ycombinator ycombinator added review and removed WIP Work in progress labels Mar 11, 2020
@ycombinator ycombinator marked this pull request as ready for review March 11, 2020 18:20
@ycombinator ycombinator requested a review from a team March 11, 2020 18:20
@ycombinator ycombinator added release_note:skip Skip the PR/issue when compiling release notes backport pending v7.7.0 v8.0.0 labels Mar 11, 2020
@chrisronline
Copy link
Contributor

How can I make these stats show up? I'm seeing undefined for https://github.com/elastic/kibana/pull/59850/files#diff-ed4dfe3e626069cc7ad7e5b1a85d18bbR225

Copy link
Member

@afharo afharo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I haven't tested it, though.

Copy link
Member

@afharo afharo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The types for BeatsBaseStats need to include the new queue entries

@ycombinator
Copy link
Contributor Author

The types for BeatsBaseStats need to include the new queue entries

@afharo I'm not familiar with Typescript so hopefully I did the right thing in 2076d80.

Copy link
Member

@afharo afharo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@chrisronline chrisronline left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to update the filterPath to include the new queue path: https://github.com/elastic/kibana/pull/59850/files#diff-ed4dfe3e626069cc7ad7e5b1a85d18bbR346

@ycombinator
Copy link
Contributor Author

Thanks @chrisronline for catching this!

Copy link
Contributor

@chrisronline chrisronline left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, pending CI!

@ycombinator ycombinator requested a review from afharo March 12, 2020 18:47
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@ycombinator ycombinator merged commit d46f848 into elastic:master Mar 12, 2020
@ycombinator ycombinator deleted the monitoring/telemetry/beats/state/queue branch March 12, 2020 20:35
ycombinator added a commit to ycombinator/kibana that referenced this pull request Mar 12, 2020
* Aggregate queue types being used by Beats

* Making tests pass again

* Updating fixture + tests for queue type

* Adding queue field to BeatsBaseStats type

* Add undefined guard

* Adding queue field to source fields list

* Fixing type error
ycombinator added a commit that referenced this pull request Mar 12, 2020
* Aggregate queue types being used by Beats

* Making tests pass again

* Updating fixture + tests for queue type

* Adding queue field to BeatsBaseStats type

* Add undefined guard

* Adding queue field to source fields list

* Fixing type error
gmmorris added a commit to gmmorris/kibana that referenced this pull request Mar 13, 2020
* master:
  [Alerting] extend Alert Type with names/descriptions of action variables (elastic#59756)
  [Ingest] Fix data source creation and double system data source (elastic#60069)
  Add button to view full service map (elastic#59394)
  unskip tests for code coverage (elastic#59725)
  [Ingest] Add Fleet & EPM features (elastic#59376)
  [Logs UI] Show navigation bar while loading source configurati… (elastic#59997)
  [Endpoint] ERT-82 Alerts search bar (elastic#59702)
  Aggregate queue types being used by Beats (elastic#59850)
  skip flaky suite (elastic#59541)
  Convert Timeline to TypeScript (elastic#59966)
  Make context.core required argument to context providers (elastic#59996)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes review v7.7.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants