-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[testbed] Include CPU and memory limits to benchmark results file #36753
base: main
Are you sure you want to change the base?
[testbed] Include CPU and memory limits to benchmark results file #36753
Conversation
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
…imits' into feat/testbed-results-include-limits
@bacherfl Where can i find the results for the test execution including the cpu metrics ? |
Signed-off-by: Florian Bacher <[email protected]>
It seems like the load tests are not executed on PRs, but only on main. But an example of where they would show up is in the overview at the end of the test execution, e.g. here: https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/12293184933/job/34306235893#step:10:171
The entries for |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
It would be great if these results as part of the ci run are plotted as time series graph for some at least 3 releases (several weeks of builds) so its easy to visualize the trend. eg in python
|
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.
The change looks good! However I don't fully follow what is the end goal for this addition. Could we clarify that?
type PerfTestValidator struct{} | ||
type PerfTestValidator struct { | ||
// IncludeLimitsInReport determines whether the summary generated by PerformanceResults should include the specified resource limits | ||
IncludeLimitsInReport bool |
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.
Is there a plan to actually use this at some point for the current tests? Or it's for the future ones?
Sure! In our case at Dynatrace, we are publishing the load test results for our collector distro to a page to keep track of the memory and cpu consumption: https://dynatrace.github.io/dynatrace-otel-collector/benchmarks/loadtests/ This might also be useful for the benchmark charts published on the OTel docs page, but to avoid suddenly changing the graphs there by adding those new values, I opted to keep the reporting of those disabled by default via the |
Description
This PR adds the specified limits for the CPU and memory consumption to the benchmark results file. This way, these values can also be included in a timeseries chart, next to the max and average consumption.
For now, this is disabled by default in the
PerfTestValidator
to not introduce any unwanted changes to the charts generated from tests using this componentLink to tracking issue
Fixes #36720