[Maps][Telemetry] Migrate Maps telemetry to NP#55055
Merged
kindsun merged 15 commits intoelastic:masterfrom Feb 19, 2020
Merged
[Maps][Telemetry] Migrate Maps telemetry to NP#55055kindsun merged 15 commits intoelastic:masterfrom
kindsun merged 15 commits intoelastic:masterfrom
Conversation
Contributor
|
Pinging @elastic/kibana-gis (Team:Geo) |
Contributor
💔 Build Failed
History
To update your PR or re-run it, just comment with: |
1a273a9 to
b3bcc3c
Compare
Contributor
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
Contributor
|
@elasticmachine merge upstream |
Contributor
thomasneirynck
left a comment
There was a problem hiding this comment.
thanks @aaronjcaldwell
Most comments are wrt adding types for that introduction of the TypeScript module.
x-pack/legacy/plugins/maps/server/maps_telemetry/collectors/register.ts
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/maps/server/maps_telemetry/maps_telemetry.ts
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/maps/server/maps_telemetry/maps_telemetry.ts
Outdated
Show resolved
Hide resolved
added 3 commits
February 13, 2020 15:58
…/kibana into np-migrate-maps-telemetry
added 4 commits
February 18, 2020 15:01
…peCount. Set return type on reduce function
…ndex pattern saved objects
thomasneirynck
approved these changes
Feb 19, 2020
Contributor
thomasneirynck
left a comment
There was a problem hiding this comment.
awesome! Thanks for making the effort and typing all the interaction points.
Some minor suggestion wrt organizing the definitions.
x-pack/legacy/plugins/maps/server/maps_telemetry/maps_telemetry.ts
Outdated
Show resolved
Hide resolved
Contributor
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
kindsun
pushed a commit
to kindsun/kibana
that referenced
this pull request
Feb 19, 2020
* Move maps telemetry to NP. Some clean-up, some ts conversion * Update naming & org to be more in-line with guidelines * Get TELEMETRY_TYPE from constants * Ignore ts error importing from js file * Set original array type passed into the function to array of ILayerTypeCount. Set return type on reduce function * Remove unneeded 'any' types where used. Add in interfaces for map & index pattern saved objects * Review feedback. Add layer, source, map saved object types and use * Review feedback. Updates based on type check Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
kindsun
pushed a commit
that referenced
this pull request
Feb 19, 2020
* Move maps telemetry to NP. Some clean-up, some ts conversion * Update naming & org to be more in-line with guidelines * Get TELEMETRY_TYPE from constants * Ignore ts error importing from js file * Set original array type passed into the function to array of ILayerTypeCount. Set return type on reduce function * Remove unneeded 'any' types where used. Add in interfaces for map & index pattern saved objects * Review feedback. Add layer, source, map saved object types and use * Review feedback. Updates based on type check Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
mbondyra
added a commit
to mbondyra/kibana
that referenced
this pull request
Feb 20, 2020
* master: (136 commits) [Visualize] Remove legacy appState in visualize (elastic#57330) Use static time for tsvb rollup test (elastic#57701) [SIEM] Fix ResizeObserver polyfill (elastic#58046) [SIEM][Detection Engine] Fixes return codes where some were rule_id instead of id skip flaky suite (elastic#56816) skip flaky suite (elastic#58059) skip flaky suite (elastic#45348) migrates notification server routes to NP (elastic#57906) Moved all of the show/hide toggles outside of ordered lists. (elastic#57163) [APM] NP Migration - Moves plugin server files out of legacy (elastic#57532) [Maps][Telemetry] Migrate Maps telemetry to NP (elastic#55055) Embeddable add panel examples (elastic#57319) Fix useRequest to support query change (elastic#57723) Allow custom paths in plugin generator (elastic#57766) [SIEM][Case] Merge header components (elastic#57816) [ML] New Platform server shim: update job audit messages routes (elastic#57925) [kbn/optimizer] emit success event from reducer when all bundles cached (elastic#57945) [APM] Don’t include UI filters when fetching a specific transaction (elastic#57934) Upgrade yargs (elastic#57720) skip flaky suite (elastic#57762) (elastic#57997) (elastic#57998) ... # Conflicts: # src/plugins/advanced_settings/public/management_app/components/field/__snapshots__/field.test.tsx.snap # src/plugins/advanced_settings/public/management_app/components/field/field.tsx # x-pack/plugins/translations/translations/ja-JP.json # x-pack/plugins/translations/translations/zh-CN.json
26 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Migrates Maps telemetry to NP and typescriptifies a few files.
Testing
The easiest way to test this locally is to:
http://localhost:5601/<your prepended basepath if in dev>/api/stats?extended=truemaps_telemetry > maps_total_countshould have increased by one. Depending on what other maps you have saved, the other metrics withmin,max,avgwill likely also have changed