-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Telemetry] Telemetry tools check all makeUsageCollector calls
#79840
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
Conversation
afharo
left a comment
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.
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 😅 )
src/plugins/vis_type_vega/server/usage_collector/get_usage_collector.ts
Outdated
Show resolved
Hide resolved
src/plugins/vis_type_vega/server/usage_collector/register_vega_collector.ts
Outdated
Show resolved
Hide resolved
afharo
left a comment
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! I love these changes! Thank you!
stratoula
left a comment
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, tested locally. It seems that both vega and visualizations usage collectors work as they should. I would appreciate another 👀 from @alexwizp
💚 Build SucceededMetrics [docs]distributable file count
History
To update your PR or re-run it, just comment with: |
* master: [Telemetry] Telemetry tools check all `makeUsageCollector` calls (elastic#79840) Input controls crashes if index pattern is not available (elastic#79431)
Summary
Telemetry Team related changes:
makeUsageCollectoris not passed an object direcrly. only objects and variables defining an object are allowed.coreschema automatically added to mapping after check fixes.Kibana app related changes:
vis_type_vegacollector schema.visualization_typescollector schema.