-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Telemetry] Migrate ui_metric plugin to NP under usageCollection #51972
[Telemetry] Migrate ui_metric plugin to NP under usageCollection #51972
Conversation
…metric_to_usage_collection
…metric_to_usage_collection
…metric_to_usage_collection
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.
APM changes lgtm
@elasticmachine merge upstream |
waiting on this PR to get merged first before merging mine: #52251 To resolve renaming configs issue between legacy and NP plugins. |
…Bamieh/kibana into telemetry/ui_metric_to_usage_collection
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.
A few nits and comments, otherwise the code looks good.
I'm doing a smoke test in Chrome and will re-review once that's done.
src/plugins/usage_collection/public/services/create_reporter.ts
Outdated
Show resolved
Hide resolved
src/plugins/usage_collection/public/services/create_reporter.ts
Outdated
Show resolved
Hide resolved
src/plugins/usage_collection/public/services/create_reporter.ts
Outdated
Show resolved
Hide resolved
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.
The code changes look good and make the types much clearer. Thanks for giving the default max wait time for all collectors such a descriptive name, it'll be very obvious now!
I also ran a test in Chrome and Safari and the move of the ui_metric code works as expected.
LGTM!
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
Summary
Migrates
ui_metric
to New platformui_metric
underusage_collection
plugin.ui_metric
plugin code.ui_metrics
ui_metrics
Dev Docs
Migrates
ui_metrics
to NP underusageCollection
.