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

[Infra Monitoring UI] Create functional test for Stack Monitoring Agent collection using generated data #123345

Open
miltonhultgren opened this issue Jan 19, 2022 · 1 comment

Comments

@miltonhultgren
Copy link
Contributor

miltonhultgren commented Jan 19, 2022

Overview

We want to move further with tooling for data generation to use for testing and development. After some initial work done in #118302 we now want to go further with apm-synthtrace and integrate it with our functional tests.

Since we need to write a new set of tests for testing Agent based Stack Monitoring we felt this would be a good opportunity to extend our data generation to simulate the data that Agent based collection would produce.

Note that if this ends up taking more time than we first hoped, it may be best to pause this effort, and instead write the tests by using es_archive.

AC

There exists at least one functional test for Stack Monitoring that uses generated data that matches the format that Agent based collection uses.

Implementation hints

Start by looking at the initial PR, that shows how we use synthtrace in general (to generate timestamps, and push those through the document generating classes).
Then looking at those classes you can see what kind of documents they output.

Next we'd need to compare what the archive versions include since that is what we need to start generating.

Then it's all about deciding which domain class should provide the data for those fields.

@miltonhultgren miltonhultgren added the Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services label Jan 19, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI)

@smith smith added Team:Monitoring Stack Monitoring team and removed Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services labels Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants