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

Long running tests can fail to record metrics #128

Open
lalexgap opened this issue Oct 7, 2022 · 1 comment · Fixed by #129
Open

Long running tests can fail to record metrics #128

lalexgap opened this issue Oct 7, 2022 · 1 comment · Fixed by #129
Assignees
Labels
🇵🇹 Lisbon Tasks and issues we should attempt to resolve before we go to Lisbon

Comments

@lalexgap
Copy link
Contributor

lalexgap commented Oct 7, 2022

It looks like with a long running test the metrics can fail to record due to being too large (example):

Oct  7 05:27:57.426367	�[34mINFO�[0m	654.1094s �[30;47m   MESSAGE�[0m �[33m<< single[006] (d243c0) >>�[0m failed to send batch to InfluxDB; attempt 4; err: {"error":"Request Entity Too Large"}

Oct  7 05:27:57.426526	�[34mINFO�[0m	654.1098s �[30;47m   MESSAGE�[0m �[33m<< single[006] (d243c0) >>�[0m influxdb: failed to upload 116963 points; err: All attempts fail:

We are using results so testground will upload all the metrics at the end of the run. It seems that if we run the test for long enough the size of the metrics becomes too large for influx db to handle in one request.

@lalexgap lalexgap added the 🇵🇹 Lisbon Tasks and issues we should attempt to resolve before we go to Lisbon label Oct 7, 2022
@lalexgap lalexgap self-assigned this Oct 7, 2022
@lalexgap
Copy link
Contributor Author

lalexgap commented Oct 7, 2022

We have a couple options here:

  • Look at switching back to diagnositics (this would also let us monitor metrics as the test happens)
  • Change the polling period for metrics (I think it's 1 second right now) so we generate less data
  • Look at configuring the influx-db to accept larger requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🇵🇹 Lisbon Tasks and issues we should attempt to resolve before we go to Lisbon
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant