Skip to content

Conversation

@Bamieh
Copy link
Member

@Bamieh Bamieh commented Oct 7, 2020

Summary

Telemetry Team related changes:

  • Fix telemetry_check to throw when mapping files do not match generated mappings.
  • Fix telemetry_check to throw when makeUsageCollector is not passed an object direcrly. only objects and variables defining an object are allowed.
  • core schema automatically added to mapping after check fixes.

Kibana app related changes:

  • Add vis_type_vega collector schema.
  • Add visualization_types collector schema.

@Bamieh Bamieh added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.11.0 labels Oct 7, 2020
@Bamieh Bamieh requested a review from a team as a code owner October 7, 2020 13:08
@Bamieh Bamieh requested a review from a team October 7, 2020 13:08
@afharo afharo linked an issue Oct 7, 2020 that may be closed by this pull request
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.

Please, fix the broken tests and the types.

Also, I'm concerned we are actually changing the behaviour of the collectors. 0 is not the same to undefined (even for Elasticsearch 😅 )

@afharo afharo self-requested a review October 7, 2020 14:11
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 love these changes! Thank you!

@stratoula stratoula requested a review from alexwizp October 8, 2020 10:43
Copy link
Contributor

@stratoula stratoula left a comment

Choose a reason for hiding this comment

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

LGTM, tested locally. It seems that both vega and visualizations usage collectors work as they should. I would appreciate another 👀 from @alexwizp

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

distributable file count

id before after diff
default 48445 48447 +2
oss 29185 29187 +2

History

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

@Bamieh Bamieh merged commit 70549c2 into elastic:master Oct 8, 2020
@Bamieh Bamieh deleted the telemetry/schema_fixes branch October 8, 2020 11:42
gmmorris added a commit to gmmorris/kibana that referenced this pull request Oct 8, 2020
* master:
  [Telemetry] Telemetry tools check all `makeUsageCollector` calls (elastic#79840)
  Input controls crashes if index pattern is not available (elastic#79431)
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 v7.11.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Usage collection][schema] vis_type_vega

5 participants