[8.x] [Streams] Replay loghub data with synthtrace (#212120)#214916
Merged
dgieselaar merged 3 commits intoelastic:8.xfrom Mar 19, 2025
Merged
[8.x] [Streams] Replay loghub data with synthtrace (#212120)#214916dgieselaar merged 3 commits intoelastic:8.xfrom
dgieselaar merged 3 commits intoelastic:8.xfrom
Conversation
Download, parse and replay loghub data with Synthtrace, for use in the Streams project. In summary: - adds a `@kbn/sample-log-parser` package which parses Loghub sample data, creates valid parsers for extracting and replacing timestamps, using the LLM - add a `sample_logs` scenario which uses the parsed data sets to replay Loghub data continuously as if it were live data - refactor some parts of Synthtrace (follow-up work captured in elastic#212179) ## Synthtrace changes - Replace custom Logger object with Kibana-standard ToolingLog - Report progress and estimated time to completion for long-running jobs - Simplify scenarioOpts (allow comma-separated key-value pairs instead of just JSON) - Simplify client initialization - When using workers, only bootstrap once (in the main thread) - Allow workers to gracefully shutdown - Downgrade some logging levels for less noise --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit ba13e86) # Conflicts: # .github/CODEOWNERS # src/platform/packages/shared/kbn-apm-synthtrace/src/cli/utils/get_apm_es_client.ts # src/platform/packages/shared/kbn-apm-synthtrace/src/cli/utils/get_entities_es_client.ts # src/platform/packages/shared/kbn-apm-synthtrace/src/cli/utils/get_infra_es_client.ts # src/platform/packages/shared/kbn-apm-synthtrace/src/cli/utils/get_logs_es_client.ts # src/platform/packages/shared/kbn-apm-synthtrace/src/cli/utils/get_otel_es_client.ts # src/platform/packages/shared/kbn-apm-synthtrace/src/cli/utils/get_synthetics_es_client.ts # src/platform/packages/shared/kbn-apm-synthtrace/src/lib/apm/client/apm_synthtrace_kibana_client.ts
Contributor
|
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
Contributor
💔 Build Failed
Failed CI StepsTest FailuresMetrics [docs]
|
Contributor
Author
|
@elasticmachine merge upstream |
flash1293
approved these changes
Mar 19, 2025
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.
Backport
This will backport the following commits from
mainto8.x:Questions ?
Please refer to the Backport tool documentation