-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Profiling] Differential views based on same data show different values #181886
Comments
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
Just seeing that there is also a little "glitch" in the first screenshot where 0 changes lead to a green arrow up and |
|
@cauemarcondes The following needs to be changed: diff. topN functions - "Total number of samples"
diff. topN functions - "Annualized CO2 / costs"
|
…es (#182001) Related to #180677 closes #181886 There's still a small difference on the CO2 values, but that's due to different formats returned by ES apis: ``` TopN Functions "self_annual_co2_tons": 0.0068555964801996295 Flamegraph "AnnualCO2TonsInclusive": [ 0.0069, ``` After: <img width="1765" alt="Screenshot 2024-04-29 at 16 34 57" src="https://github.com/elastic/kibana/assets/55978943/092a704f-69fe-4dd0-99d5-9ac9bce77188"> <img width="1788" alt="Screenshot 2024-04-29 at 16 35 03" src="https://github.com/elastic/kibana/assets/55978943/da4a1406-fad7-48de-81ac-e8aae64cba67">
…es (elastic#182001) Related to elastic#180677 closes elastic#181886 There's still a small difference on the CO2 values, but that's due to different formats returned by ES apis: ``` TopN Functions "self_annual_co2_tons": 0.0068555964801996295 Flamegraph "AnnualCO2TonsInclusive": [ 0.0069, ``` After: <img width="1765" alt="Screenshot 2024-04-29 at 16 34 57" src="https://github.com/elastic/kibana/assets/55978943/092a704f-69fe-4dd0-99d5-9ac9bce77188"> <img width="1788" alt="Screenshot 2024-04-29 at 16 35 03" src="https://github.com/elastic/kibana/assets/55978943/da4a1406-fad7-48de-81ac-e8aae64cba67"> (cherry picked from commit cb77c2d)
…nt values (#182001) (#182091) # Backport This will backport the following commits from `main` to `8.14`: - [[Profiling] Differential views based on same data show different values (#182001)](#182001) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Cauê Marcondes","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-04-30T09:47:33Z","message":"[Profiling] Differential views based on same data show different values (#182001)\n\nRelated to https://github.com/elastic/kibana/pull/180677\r\ncloses https://github.com/elastic/kibana/issues/181886\r\n\r\nThere's still a small difference on the CO2 values, but that's due to\r\ndifferent formats returned by ES apis:\r\n```\r\nTopN Functions\r\n\"self_annual_co2_tons\": 0.0068555964801996295\r\n\r\nFlamegraph\r\n\"AnnualCO2TonsInclusive\": [\r\n 0.0069,\r\n```\r\n\r\nAfter:\r\n<img width=\"1765\" alt=\"Screenshot 2024-04-29 at 16 34 57\"\r\nsrc=\"https://github.com/elastic/kibana/assets/55978943/092a704f-69fe-4dd0-99d5-9ac9bce77188\">\r\n<img width=\"1788\" alt=\"Screenshot 2024-04-29 at 16 35 03\"\r\nsrc=\"https://github.com/elastic/kibana/assets/55978943/da4a1406-fad7-48de-81ac-e8aae64cba67\">","sha":"cb77c2d13eecf92b064328605a34737222fed541","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","ci:project-deploy-observability","v8.14.0","v8.15.0"],"title":"[Profiling] Differential views based on same data show different values","number":182001,"url":"https://github.com/elastic/kibana/pull/182001","mergeCommit":{"message":"[Profiling] Differential views based on same data show different values (#182001)\n\nRelated to https://github.com/elastic/kibana/pull/180677\r\ncloses https://github.com/elastic/kibana/issues/181886\r\n\r\nThere's still a small difference on the CO2 values, but that's due to\r\ndifferent formats returned by ES apis:\r\n```\r\nTopN Functions\r\n\"self_annual_co2_tons\": 0.0068555964801996295\r\n\r\nFlamegraph\r\n\"AnnualCO2TonsInclusive\": [\r\n 0.0069,\r\n```\r\n\r\nAfter:\r\n<img width=\"1765\" alt=\"Screenshot 2024-04-29 at 16 34 57\"\r\nsrc=\"https://github.com/elastic/kibana/assets/55978943/092a704f-69fe-4dd0-99d5-9ac9bce77188\">\r\n<img width=\"1788\" alt=\"Screenshot 2024-04-29 at 16 35 03\"\r\nsrc=\"https://github.com/elastic/kibana/assets/55978943/da4a1406-fad7-48de-81ac-e8aae64cba67\">","sha":"cb77c2d13eecf92b064328605a34737222fed541"}},"sourceBranch":"main","suggestedTargetBranches":["8.14"],"targetPullRequestStates":[{"branch":"8.14","label":"v8.14.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.15.0","branchLabelMappingKey":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/182001","number":182001,"mergeCommit":{"message":"[Profiling] Differential views based on same data show different values (#182001)\n\nRelated to https://github.com/elastic/kibana/pull/180677\r\ncloses https://github.com/elastic/kibana/issues/181886\r\n\r\nThere's still a small difference on the CO2 values, but that's due to\r\ndifferent formats returned by ES apis:\r\n```\r\nTopN Functions\r\n\"self_annual_co2_tons\": 0.0068555964801996295\r\n\r\nFlamegraph\r\n\"AnnualCO2TonsInclusive\": [\r\n 0.0069,\r\n```\r\n\r\nAfter:\r\n<img width=\"1765\" alt=\"Screenshot 2024-04-29 at 16 34 57\"\r\nsrc=\"https://github.com/elastic/kibana/assets/55978943/092a704f-69fe-4dd0-99d5-9ac9bce77188\">\r\n<img width=\"1788\" alt=\"Screenshot 2024-04-29 at 16 35 03\"\r\nsrc=\"https://github.com/elastic/kibana/assets/55978943/da4a1406-fad7-48de-81ac-e8aae64cba67\">","sha":"cb77c2d13eecf92b064328605a34737222fed541"}}]}] BACKPORT--> Co-authored-by: Cauê Marcondes <[email protected]>
…es (elastic#182001) Related to elastic#180677 closes elastic#181886 There's still a small difference on the CO2 values, but that's due to different formats returned by ES apis: ``` TopN Functions "self_annual_co2_tons": 0.0068555964801996295 Flamegraph "AnnualCO2TonsInclusive": [ 0.0069, ``` After: <img width="1765" alt="Screenshot 2024-04-29 at 16 34 57" src="https://github.com/elastic/kibana/assets/55978943/092a704f-69fe-4dd0-99d5-9ac9bce77188"> <img width="1788" alt="Screenshot 2024-04-29 at 16 35 03" src="https://github.com/elastic/kibana/assets/55978943/da4a1406-fad7-48de-81ac-e8aae64cba67">
Kibana version:
8.14-SNAPSHOT
Elasticsearch version:
8.14-SNAPSHOT
Describe the bug:
The summary fields in the differential views for TopN Functions and Flamegraph should show the same values when calculated from the same data. But they don't.
Steps to reproduce:
Expected behavior:
The summary fields in the differential views should show exactly the same data when based on the same data.
Screenshots (if relevant):
The text was updated successfully, but these errors were encountered: