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

Support data streams and composable templates #4177

Closed
jalvz opened this issue Sep 8, 2020 · 2 comments
Closed

Support data streams and composable templates #4177

jalvz opened this issue Sep 8, 2020 · 2 comments
Milestone

Comments

@jalvz
Copy link
Contributor

jalvz commented Sep 8, 2020

Conclusions from the proposal doc and follow-up conversations:

  • In the initial 7.11 release we will omit service.name from the data streams, but we will follow up with this in 7.12 or whenever we progress to Beta. This is a requirement to enable constant_keyword on the field (faster searches), avoid conflicts on labels and metrics, improve field suggestions, and more.
  • We will create a single traces-<service.name>-* data stream per service, including both transactions and spans. We should test this approach using real data, compared to having separate data streams, e.g. to compare relative compression, search speed, etc. We should also investigate consolidating the fields used in transactions and spans.
  • We will have three metrics data streams:
    • metrics-<service.name>-* (runtime/process/system and application-defined metrics)
    • metrics-<service.name>.apm.internal-* (APM-internal metrics, e.g. span breakdown, transaction duration, edge metrics)
    • metrics-<service.name>.profiling-* (CPU/heap profiling metrics)
  • We will have two logs data stream:
    • logs-<service.name>-* (application logs)
    • logs-<service.name>.apm.error-* (APM errors)

Note: errors may end up being partially duplicated in the application logs and APM errors specific data streams. We will need enhancements to the Logs app to collapse multiple docs, e.g. by matching on an error.id field and adding the APM error doc as a pseudo-field of the log in the flyout.


Follows from #3824

Beats ref elastic/beats#17829
POC elastic/beats@819d119

@axw
Copy link
Member

axw commented Sep 30, 2020

APM Indexing Strategy Proposal document

@axw axw added this to the 7.11 milestone Oct 7, 2020
@axw
Copy link
Member

axw commented Oct 21, 2020

elastic/package-spec#64 is open for adding package support to include service.name in the data set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants