-
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
[APM] Add experimental support for Data Streams #89650
[APM] Add experimental support for Data Streams #89650
Conversation
Pinging @elastic/apm-ui (Team:apm) |
What about:
We probably don't need to update them all. But I was a bit surprised by how many (hardcoded) references there are to apm-* so at least wanted to mention some I found. |
Good point. I initially thought we'd just make the UI usable for fleet users and then ignore everything else until 8.0. But thinking again it'll be a bad experience if the permissions, ML jobs etc don't work out of the box as expected. Wrt permissions I think adding the new data stream indices to the apm_user role will be fairly straight forward. Similarly, I hope we can make ML jobs work for other indices than Not sure what we'll do with the index pattern. Not sure an index pattern can span across different indicies that don't share a common prefix. So we might have to create an alias for this |
a32a7ed
to
23879a0
Compare
@elasticmachine merge upstream |
retest |
src/plugins/apm_oss/server/index.ts
Outdated
@@ -21,6 +21,7 @@ export const config = { | |||
sourcemapIndices: schema.string({ defaultValue: 'apm-*' }), | |||
onboardingIndices: schema.string({ defaultValue: 'apm-*' }), | |||
indexPattern: schema.string({ defaultValue: 'apm-*' }), | |||
fleet: schema.boolean({ defaultValue: true }), |
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.
Option to disable fleet support. Should it be called something else like fleet.enabled
?
@@ -66,7 +66,7 @@ export function KueryBar(props: { prepend?: React.ReactNode | string }) { | |||
|
|||
const example = examples[processorEvent || 'defaults']; | |||
|
|||
const { indexPattern } = useDynamicIndexPatternFetcher(processorEvent); | |||
const { indexPattern } = useDynamicIndexPatternFetcher(); |
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.
Removed processorEvent
from the dynamic index pattern. It barely had an impact since 850 fields of 905 are shared. So limiting to a single processorEvent
didn't have any significant advantages.
endpoint: 'GET /api/apm/index_pattern/dynamic', | ||
isCachable: true, | ||
}); | ||
}, []); |
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.
Another benefit of removing processorEvent
: a dynamic index pattern is now only fetched once.
5fac944
to
d8d0175
Compare
jenkins run the e2e |
@elasticmachine merge upstream |
* master: (44 commits) [APM] Add experimental support for Data Streams (elastic#89650) [Search Session] Control "Kibana / Search Sessions" management section by privileges (elastic#90818) [Lens] Median as default function (elastic#90952) Implement custom global header banner (elastic#87438) [Fleet] Reduce permissions. (elastic#90302) Update dependency @elastic/charts to v24.5.1 (elastic#89822) [Create index pattern] Can't create single character index without wildcard (elastic#90919) [ts/build_ts_refs] add support for --clean flag (elastic#91060) Don't clean when running e2e tests (elastic#91057) Fixes track_total_hits in the body not having an effect when using search strategy (elastic#91068) [Security Solution][Detections] Adds list plugin Saved Objects to Security feature privilege (elastic#90895) Removing the code plugin entirely for 8.0 (elastic#77940) chore(NA): move the instruction to remove yarn global bazelisk package into the first place on install bazel tools (elastic#91026) [jest/ci] remove max-old-space-size override to use 4gb default (elastic#91020) [Fleet] Restrict integration changes for managed policies (elastic#90675) [CI] Fix auto-backport condditions so that it doesn't trigger for other labels (elastic#91042) [DOCS] Uses variable to refer to query profiler (elastic#90976) [App Search] Relevance Tuning logic listeners (elastic#89461) [Metrics UI] Fix saving/loading saved views from URL (elastic#90216) Limit cardinality of transaction.name (elastic#90955) ...
* [APM] Add experimental support for Data Streams (#89650) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> * Update mock types for apm oss Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
💔 Build Failed
Failed CI StepsTest FailuresKibana Pipeline / general / Firefox XPack UI Functional Tests.x-pack/test/functional/apps/grok_debugger/grok_debugger·js.logstash grok debugger app "before all" hook in "grok debugger app"Standard Out
Stack Trace
Kibana Pipeline / general / X-Pack API Integration Tests.x-pack/test/api_integration/apis/ml/modules/setup_module·ts.apis Machine Learning modules module setup sets up module data for logs_ui_categories with prefix, startDatafeed true and estimateModelMemory trueStandard Out
Stack Trace
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
Closes #87501
kibana_system
role (Add read permissions forapm_user
role to APM fleet indices elasticsearch#68749)apm_user
role to APM fleet indices elasticsearch#68749)