Skip to content
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

[APM] Fixes support for APM index pattern with data streams #105360

Merged
merged 3 commits into from
Jul 14, 2021

Conversation

ogupte
Copy link
Contributor

@ogupte ogupte commented Jul 12, 2021

Addresses #94702.

Fixes maps support for the APM data streams, which would contain geo data of traces if a user migrates in the APM settings (#102682, #105015).

@ogupte ogupte added release_note:skip Skip the PR/issue when compiling release notes v7.14.0 v7.15.0 labels Jul 12, 2021
@@ -39,7 +39,7 @@ import { getDefaultDynamicProperties } from '../../../styles/vector/vector_style

// redefining APM constant to avoid making maps app depend on APM plugin
export const APM_INDEX_PATTERN_ID = 'apm_static_index_pattern_id';
export const APM_INDEX_PATTERN_TITLE = 'apm-*';
export const APM_INDEX_PATTERN_TITLE = 'traces-apm*,logs-apm*,metrics-apm*,apm-*';
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've updated the test with the new labels based on the index pattern title. Is there any other the new pattern should be handled?

ogupte added 2 commits July 13, 2021 00:10
- tests each component of index pattern title for index matches

This reverts commit a3a27df.
Copy link
Contributor

@nreese nreese left a comment

Choose a reason for hiding this comment

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

LGTM, code review

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
maps 3.1MB 3.1MB +116.0B

History

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

@ogupte ogupte added the auto-backport Deprecated - use backport:version if exact versions are needed label Jul 14, 2021
@ogupte ogupte merged commit e60f14e into elastic:master Jul 14, 2021
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 14, 2021
…105360)

* [APM] Fixes support for APM index pattern with data streams (elastic#94702)

* fix unit test

* - Revert "fix unit test"
- tests each component of index pattern title for index matches

This reverts commit a3a27df.
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 14, 2021
…105360)

* [APM] Fixes support for APM index pattern with data streams (elastic#94702)

* fix unit test

* - Revert "fix unit test"
- tests each component of index pattern title for index matches

This reverts commit a3a27df.
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.14
7.x

The backport PRs will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Jul 14, 2021
…#105535)

* [APM] Fixes support for APM index pattern with data streams (#94702)

* fix unit test

* - Revert "fix unit test"
- tests each component of index pattern title for index matches

This reverts commit a3a27df.

Co-authored-by: Oliver Gupte <[email protected]>
kibanamachine added a commit that referenced this pull request Jul 14, 2021
…#105536)

* [APM] Fixes support for APM index pattern with data streams (#94702)

* fix unit test

* - Revert "fix unit test"
- tests each component of index pattern title for index matches

This reverts commit a3a27df.

Co-authored-by: Oliver Gupte <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes v7.14.0 v7.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants