-
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
#121908 - [Maps] Use UI counters to instrument when a geo field is visualized with visualizeGeoFieldAction #123540
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
💚 CLA has been signed |
x-pack/plugins/maps/public/trigger_actions/visualize_geo_field_action.ts
Outdated
Show resolved
Hide resolved
src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.ts
Outdated
Show resolved
Hide resolved
...s/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts
Outdated
Show resolved
Hide resolved
.../lens/public/editor_frame_service/editor_frame/workspace_panel/geo_field_workspace_panel.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/lens/public/indexpattern_datasource/visualize_geo_field_button.tsx
Outdated
Show resolved
Hide resolved
I chatted with @Bamieh from Telemetry and he suggested that we change the typing of Would you please change UiCounterMetricType to string and then call reportUiCounter like
|
@elasticmachine merge upstream |
Pinging @elastic/kibana-gis (Team:Geo) |
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.
VisEditors changes LGTM
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.
Overall LGTM! I just wonder if we should still use UiCounterMetricType
since it now includes string
. It could help with code completion when using any of the known values.
What do you think?
src/plugins/discover/public/application/main/components/sidebar/lib/visualize_trigger_utils.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.
Code LGTM DataDiscovery.team code reviewed, did not test
@elasticmachine merge upstream |
@elasticmachine merge upstream |
x-pack/plugins/maps/public/trigger_actions/visualize_geo_field_action.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/maps/public/trigger_actions/visualize_geo_field_action.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.
LGTM
code review
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Public APIs missing comments
Async chunks
Public APIs missing exports
Page load bundle
Unknown metric groupsAPI count
History
To update your PR or re-run it, just comment with: |
Closes: #121908
Now it's possible to collect usage of the Maps service from different types of apps. Covers lens button, lens workspace, discover, data visualizer.
cc @nreese