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

[ObsUx][Infra] Improve test in infra adding synthtrace #189867

Closed
MiriamAparicio opened this issue Aug 5, 2024 · 1 comment · Fixed by #190121
Closed

[ObsUx][Infra] Improve test in infra adding synthtrace #189867

MiriamAparicio opened this issue Aug 5, 2024 · 1 comment · Fixed by #190121
Assignees
Labels
Feature:ObsHosts Hosts feature within Observability Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team technical debt Improvement of the software architecture and operational architecture testing Issues related to tests. v8.16.0

Comments

@MiriamAparicio
Copy link
Contributor

Follow up of #189261

Summary

After the changes in hosts for the cpu formulas, some tests were failing as the new formula values are not present in the archives for api and e2e testing

What to do

Improve the tests adding synthtrace data generating so we have more control on the data we test

@MiriamAparicio MiriamAparicio added Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team v8.16.0 testing Issues related to tests. labels Aug 5, 2024
@elasticmachine
Copy link
Contributor

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

@MiriamAparicio MiriamAparicio self-assigned this Aug 5, 2024
@smith smith added Feature:ObsHosts Hosts feature within Observability technical debt Improvement of the software architecture and operational architecture labels Aug 5, 2024
MiriamAparicio added a commit that referenced this issue Aug 26, 2024
Closes #189867

#### Summary

This PR improves the use of synthtrace as data generator for infra
functional test

#### What was done

- update `host.ts` in infra synthtrace client, so it can accept `cpu`
value as a param, added `core` metrics and the option to create a k8s
node same as a pod
- added `k8snode` entity to synthtrace client
- created `uninstallSystemPackage` method to
`infra_synthtrace_kibana_client`
- created a getter for the logs ES client in the test utils
- update and fix infra funtional tests

#### TODO in follow-up

- remove the use of archives
- get processes data also with synthtrace
- create alerts data with synthtrace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:ObsHosts Hosts feature within Observability Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team technical debt Improvement of the software architecture and operational architecture testing Issues related to tests. v8.16.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants