Skip to content

[9.0] [Streams] Replay loghub data with synthtrace (#212120)#214908

Closed
dgieselaar wants to merge 2 commits intoelastic:9.0from
dgieselaar:backport/9.0/pr-212120
Closed

[9.0] [Streams] Replay loghub data with synthtrace (#212120)#214908
dgieselaar wants to merge 2 commits intoelastic:9.0from
dgieselaar:backport/9.0/pr-212120

Conversation

@dgieselaar
Copy link
Contributor

Backport

This will backport the following commits from main to 9.0:

Questions ?

Please refer to the Backport tool documentation

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)

- 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)
@dgieselaar dgieselaar added the backport This PR is a backport of another PR label Mar 18, 2025
@dgieselaar dgieselaar enabled auto-merge (squash) March 18, 2025 08:49
@botelastic botelastic bot added the Team:obs-ux-infra_services - DEPRECATED DEPRECATED - Use Team:obs-presentation. label Mar 18, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@dgieselaar
Copy link
Contributor Author

Closing this, no need to backport to 9.0 unless backports prove to be complicated.

@dgieselaar dgieselaar closed this Mar 18, 2025
auto-merge was automatically disabled March 18, 2025 09:07

Pull request was closed

@crespocarlos crespocarlos reopened this May 6, 2025
@crespocarlos
Copy link
Contributor

@elasticmachine merge upstream

@crespocarlos
Copy link
Contributor

Closing this, no need to backport to 9.0 unless backports prove to be complicated.

We have to backport some PRs that depend on changes made to synthrace that originated from this PR.

@elasticmachine
Copy link
Contributor

elasticmachine commented May 6, 2025

💔 Build Failed

Failed CI Steps

History

@jennypavlova
Copy link
Member

@crespocarlos We can also backport this fix after - I will do it after this one is merged

@dgieselaar
Copy link
Contributor Author

@jennypavlova @crespocarlos this is a 9.0 backport...?

@crespocarlos
Copy link
Contributor

@jennypavlova @crespocarlos this is a 9.0 backport...?

This is not needed anymore. Closing it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR Team:obs-ux-infra_services - DEPRECATED DEPRECATED - Use Team:obs-presentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants