-
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
[Dataset quality] Failure store support in synthtrace #195726
[Dataset quality] Failure store support in synthtrace #195726
Conversation
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
packages/kbn-apm-synthtrace/src/lib/logs/logs_synthtrace_es_client.ts
Outdated
Show resolved
Hide resolved
packages/kbn-apm-synthtrace/src/lib/logs/logs_synthtrace_es_client.ts
Outdated
Show resolved
Hide resolved
packages/kbn-apm-synthtrace/src/lib/logs/logs_synthtrace_es_client.ts
Outdated
Show resolved
Hide resolved
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.
Code review only
LGTM 🌟
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.
LGTM!! Thanks for this great work 👏
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Public APIs missing comments
History
cc @yngrdyn |
Starting backport for target branches: 8.x |
This PR enables the creation of scenarios using failure store in synthtrace. #### How to test? 1. Run the scenario `node scripts/synthtrace failed_logs` 2. Go to dev console - For getting documents ingested `GET logs-*-*/_search`. This is equivalent to `GET logs-*-*/_search?failure_store=exclude` and will only include the documents that were properly ingested. - For getting documents in failure store `GET logs-*-*/_search?failure_store=only` https://github.com/user-attachments/assets/5013a0af-fdfc-453a-b70c-fb2c452ad4d8 (cherry picked from commit bf72e41)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…#195781) # Backport This will backport the following commits from `main` to `8.x`: - [[Dataset quality] Failure store support in synthtrace (#195726)](#195726) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Yngrid Coello","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-10T14:19:52Z","message":"[Dataset quality] Failure store support in synthtrace (#195726)\n\nThis PR enables the creation of scenarios using failure store in\r\nsynthtrace.\r\n\r\n#### How to test?\r\n1. Run the scenario `node scripts/synthtrace failed_logs`\r\n2. Go to dev console\r\n- For getting documents ingested `GET logs-*-*/_search`. This is\r\nequivalent to `GET logs-*-*/_search?failure_store=exclude` and will only\r\ninclude the documents that were properly ingested.\r\n- For getting documents in failure store `GET\r\nlogs-*-*/_search?failure_store=only`\r\n\r\n\r\nhttps://github.com/user-attachments/assets/5013a0af-fdfc-453a-b70c-fb2c452ad4d8","sha":"bf72e414206e7eafedb92b127df7f318604fc78e","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-infra_services"],"title":"[Dataset quality] Failure store support in synthtrace","number":195726,"url":"https://github.com/elastic/kibana/pull/195726","mergeCommit":{"message":"[Dataset quality] Failure store support in synthtrace (#195726)\n\nThis PR enables the creation of scenarios using failure store in\r\nsynthtrace.\r\n\r\n#### How to test?\r\n1. Run the scenario `node scripts/synthtrace failed_logs`\r\n2. Go to dev console\r\n- For getting documents ingested `GET logs-*-*/_search`. This is\r\nequivalent to `GET logs-*-*/_search?failure_store=exclude` and will only\r\ninclude the documents that were properly ingested.\r\n- For getting documents in failure store `GET\r\nlogs-*-*/_search?failure_store=only`\r\n\r\n\r\nhttps://github.com/user-attachments/assets/5013a0af-fdfc-453a-b70c-fb2c452ad4d8","sha":"bf72e414206e7eafedb92b127df7f318604fc78e"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195726","number":195726,"mergeCommit":{"message":"[Dataset quality] Failure store support in synthtrace (#195726)\n\nThis PR enables the creation of scenarios using failure store in\r\nsynthtrace.\r\n\r\n#### How to test?\r\n1. Run the scenario `node scripts/synthtrace failed_logs`\r\n2. Go to dev console\r\n- For getting documents ingested `GET logs-*-*/_search`. This is\r\nequivalent to `GET logs-*-*/_search?failure_store=exclude` and will only\r\ninclude the documents that were properly ingested.\r\n- For getting documents in failure store `GET\r\nlogs-*-*/_search?failure_store=only`\r\n\r\n\r\nhttps://github.com/user-attachments/assets/5013a0af-fdfc-453a-b70c-fb2c452ad4d8","sha":"bf72e414206e7eafedb92b127df7f318604fc78e"}}]}] BACKPORT--> Co-authored-by: Yngrid Coello <[email protected]>
This PR enables the creation of scenarios using failure store in synthtrace.
How to test?
node scripts/synthtrace failed_logs
GET logs-*-*/_search
. This is equivalent toGET logs-*-*/_search?failure_store=exclude
and will only include the documents that were properly ingested.GET logs-*-*/_search?failure_store=only
Screen.Recording.2024-10-10.at.11.33.45.mov