forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Profiling] Always allow for CO2 and cost defaults
There are two possibilities to retrieve flamegraph data: * Via the native UI * Via the APM integration Depending on the scenario, different request parameters are set. While we have improved the CO2 and cost calculation for the native UI, the host id, which is required for an improved CO2 and cost calculation, is not yet available for the APM integration. So far we've not performed this calculation at all because there were no associated host data for stacktraces. Consequently, we've returned zero values in all cases. With this commit we associate "dummy" host data so the CO2 and cost calculation falls back to default values. Once a host id is available for that case as well, we will instead use the improved calculations.
- Loading branch information
1 parent
2a298a7
commit bc6a3d8
Showing
2 changed files
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters