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

Fix nanocore sum for non default intervals on Kubernetes Overview Dashboard #19675

Merged
merged 2 commits into from
Jul 16, 2020
Merged

Fix nanocore sum for non default intervals on Kubernetes Overview Dashboard #19675

merged 2 commits into from
Jul 16, 2020

Conversation

dihmandrake
Copy link
Contributor

Bug

What does this PR do?

The Kibana visualization CPU usage by node [Metricbeat Kubernetes] ECS did not account for x-axis scaling.
In case the scaling aligned with the value from metricset.period it was correct.
In every other case, the sum was not correctly calculated as it did not take into account how big the buckets in the visualizations would be.

Why is it important?

It allows to correctly see the usage of nodes on the Kubernetes Dashboard on longer time ranges.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Author's Checklist

  • [ ]

How to test this PR locally

  • Load the dashboard and select a scaling that results in in non 10 seconds intervals for the visualization.

Screenshots

Confirmed working on non 10 seconds scaling.
image

@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

1 similar comment
@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jul 6, 2020
@cla-checker-service
Copy link

cla-checker-service bot commented Jul 6, 2020

💚 CLA has been signed

@elasticmachine
Copy link
Collaborator

elasticmachine commented Jul 6, 2020

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #19675 updated]

  • Start Time: 2020-07-15T14:22:22.291+0000

  • Duration: 88 min 16 sec

Test stats 🧪

Test Results
Failed 1
Passed 3046
Skipped 687
Total 3734

Test errors

Expand to view the tests failures

  • Name: Build and Test / Metricbeat OSS Unit tests / test_process – test_system.Test

    • Age: 1
    • Duration: 1.533
    • Error Details: False is not true : fd not found in any process events

Steps errors

Expand to view the steps failures

  • Name: Mage build unitTest

    • Description: mage build unitTest

    • Duration: 6 min 40 sec

    • Start Time: 2020-07-15T14:46:16.748+0000

    • log

  • Name: Report to Codecov

    • Description: curl -sSLo codecov https://codecov.io/bash for i in auditbeat filebeat heartbeat libbeat metricbeat packetbeat winlogbeat journalbeat do FILE="${i}/build/coverage/full.cov" if [ -f "${FILE}" ]; then bash codecov -f "${FILE}" fi done

    • Duration: 1 min 27 sec

    • Start Time: 2020-07-15T14:49:17.300+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-07-15T15:50:08.740Z] + TERRAFORM_CMD=/var/lib/jenkins/workspace/Beats_beats_PR-19675/bin/terraform
[2020-07-15T15:50:08.740Z] ++ uname -s
[2020-07-15T15:50:08.740Z] ++ tr '[:upper:]' '[:lower:]'
[2020-07-15T15:50:08.740Z] + OS=linux
[2020-07-15T15:50:08.740Z] + mkdir -p /var/lib/jenkins/workspace/Beats_beats_PR-19675/bin
[2020-07-15T15:50:08.740Z] + curl -sSLo - https://releases.hashicorp.com/terraform/0.12.24/terraform_0.12.24_linux_amd64.zip
[2020-07-15T15:50:09.680Z] ++ dirname /var/lib/jenkins/workspace/Beats_beats_PR-19675/bin/terraform
[2020-07-15T15:50:09.680Z] + unzip -o /var/lib/jenkins/workspace/Beats_beats_PR-19675/bin/terraform.zip -d /var/lib/jenkins/workspace/Beats_beats_PR-19675/bin
[2020-07-15T15:50:09.680Z] Archive:  /var/lib/jenkins/workspace/Beats_beats_PR-19675/bin/terraform.zip
[2020-07-15T15:50:09.939Z]   inflating: /var/lib/jenkins/workspace/Beats_beats_PR-19675/bin/terraform  
[2020-07-15T15:50:09.939Z] + rm /var/lib/jenkins/workspace/Beats_beats_PR-19675/bin/terraform.zip
[2020-07-15T15:50:09.939Z] + chmod +x /var/lib/jenkins/workspace/Beats_beats_PR-19675/bin/terraform
[2020-07-15T15:50:10.290Z] + make mage
[2020-07-15T15:50:10.290Z] Installing mage v1.10.0.
[2020-07-15T15:50:11.233Z] go: downloading github.com/magefile/mage v1.10.0
[2020-07-15T15:50:13.143Z] /var/lib/jenkins/workspace/Beats_beats_PR-19675/.magefile cleaned
[2020-07-15T15:50:13.471Z] + git config --get user.email
[2020-07-15T15:50:13.471Z] + [ -z  ]
[2020-07-15T15:50:13.471Z] + git config user.email beatsmachine@users.noreply.github.com
[2020-07-15T15:50:13.471Z] + git config user.name beatsmachine
[2020-07-15T15:50:13.866Z] + .ci/scripts/terraform-cleanup.sh x-pack/metricbeat
[2020-07-15T15:50:13.866Z] + DIRECTORY=x-pack/metricbeat
[2020-07-15T15:50:13.866Z] + FAILED=0
[2020-07-15T15:50:13.866Z] ++ find x-pack/metricbeat -name terraform.tfstate
[2020-07-15T15:50:13.866Z] + exit 0
[2020-07-15T15:50:14.233Z] + curl -sSLo codecov https://codecov.io/bash
[2020-07-15T15:50:14.493Z] + FILE=auditbeat/build/coverage/full.cov
[2020-07-15T15:50:14.493Z] + [ -f auditbeat/build/coverage/full.cov ]
[2020-07-15T15:50:14.493Z] + FILE=filebeat/build/coverage/full.cov
[2020-07-15T15:50:14.493Z] + [ -f filebeat/build/coverage/full.cov ]
[2020-07-15T15:50:14.493Z] + FILE=heartbeat/build/coverage/full.cov
[2020-07-15T15:50:14.493Z] + [ -f heartbeat/build/coverage/full.cov ]
[2020-07-15T15:50:14.493Z] + FILE=libbeat/build/coverage/full.cov
[2020-07-15T15:50:14.493Z] + [ -f libbeat/build/coverage/full.cov ]
[2020-07-15T15:50:14.493Z] + FILE=metricbeat/build/coverage/full.cov
[2020-07-15T15:50:14.493Z] + [ -f metricbeat/build/coverage/full.cov ]
[2020-07-15T15:50:14.493Z] + FILE=packetbeat/build/coverage/full.cov
[2020-07-15T15:50:14.493Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-07-15T15:50:14.493Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-07-15T15:50:14.493Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-07-15T15:50:14.494Z] + FILE=journalbeat/build/coverage/full.cov
[2020-07-15T15:50:14.494Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-07-15T15:50:14.990Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19675/src/github.com/elastic/beats
[2020-07-15T15:50:15.306Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-07-15T15:50:15.317Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19675/src/github.com/elastic/beats/Lint
[2020-07-15T15:50:15.405Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19675/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests
[2020-07-15T15:50:15.477Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19675/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-07-15T15:50:15.548Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19675/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-07-15T15:50:15.620Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19675/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-07-15T15:50:15.693Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19675/src/github.com/elastic/beats/Metricbeat-Python-integration-tests
[2020-07-15T15:50:15.763Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19675/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-07-15T15:50:15.835Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19675/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-07-15T15:50:15.910Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19675/src/github.com/elastic/beats/Metricbeat-Windows
[2020-07-15T15:50:15.986Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-19675/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-07-15T15:50:16.340Z] + cat
[2020-07-15T15:50:16.340Z] + /usr/local/bin/runbld ./runbld-script
[2020-07-15T15:50:16.340Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-07-15T15:50:22.935Z] runbld>>> runbld started
[2020-07-15T15:50:22.935Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-07-15T15:50:24.857Z] runbld>>> The following profiles matched the job 'Beats/beats/PR-19675' in order of occurrence in the config (last value wins).
[2020-07-15T15:50:26.242Z] runbld>>> Debug logging enabled.
[2020-07-15T15:50:26.242Z] runbld>>> Storing result
[2020-07-15T15:50:26.242Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-07-15T15:50:26.242Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200715155025-E7197765
[2020-07-15T15:50:26.242Z] runbld>>> Adding system facts.
[2020-07-15T15:50:27.188Z] runbld>>> Adding vcs info for the latest commit:  48ef470c36d464f0596ec0160f2cd04a9f303eae
[2020-07-15T15:50:27.188Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-07-15T15:50:27.188Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-07-15T15:50:27.188Z] Processing JUnit reports with runbld...
[2020-07-15T15:50:27.188Z] + echo 'Processing JUnit reports with runbld...'
[2020-07-15T15:50:27.760Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-07-15T15:50:27.760Z] runbld>>> DURATION: 38ms
[2020-07-15T15:50:27.760Z] runbld>>> STDOUT: 40 bytes
[2020-07-15T15:50:27.760Z] runbld>>> STDERR: 49 bytes
[2020-07-15T15:50:27.760Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-07-15T15:50:27.760Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-19675/src/github.com/elastic/beats
[2020-07-15T15:50:28.705Z] runbld>>> Storing build metadata: 
[2020-07-15T15:50:28.705Z] runbld>>> Adding test report.
[2020-07-15T15:50:28.705Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-19675/src/github.com/elastic/beats
[2020-07-15T15:50:29.277Z] runbld>>> Found 33 test output files
[2020-07-15T15:50:30.663Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-19675/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-07-15T15:50:30.663Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-19675/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-07-15T15:50:30.663Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-19675/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-07-15T15:50:30.663Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-19675/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-07-15T15:50:30.663Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-19675/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-07-15T15:50:30.663Z] runbld>>> Test output logs contained: Errors: 0 Failures: 1 Tests: 3734 Skipped: 597
[2020-07-15T15:50:30.924Z] runbld>>> Storing result
[2020-07-15T15:50:30.924Z] runbld>>> FAILURES: 1
[2020-07-15T15:50:31.185Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-07-15T15:50:31.185Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200715155025-E7197765
[2020-07-15T15:50:31.446Z] runbld>>> Email notification disabled by environment variable.
[2020-07-15T15:50:31.446Z] runbld>>> Slack notification disabled by environment variable.
[2020-07-15T15:50:36.945Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-19675
[2020-07-15T15:50:37.043Z] [INFO] getVaultSecret: Getting secrets
[2020-07-15T15:50:37.134Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-07-15T15:50:38.435Z] + chmod 755 generate-build-data.sh
[2020-07-15T15:50:38.435Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-19675/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-19675/runs/2 FAILURE 5295862
[2020-07-15T15:50:38.435Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-19675/runs/2/steps/?limit=10000 -o steps-info.json
[2020-07-15T15:50:39.779Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-19675/runs/2/tests/?status=FAILED -o tests-errors.json
[2020-07-15T15:50:40.330Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-19675/runs/2/log/ -o pipeline-log.txt

…hboard

The Kibana visualization CPU usage by node [Metricbeat Kubernetes] ECS did not account for x-axis scaling.
In case the scaling aligned with the value from metricset.period it was correct.
In every other case, the sum was not correctly calculated as it did not take into account how big the buckets in the visualizations would be.
@andresrc andresrc added the Team:Platforms Label for the Integrations - Platforms team label Jul 7, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-platforms (Team:Platforms)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Jul 7, 2020
@ChrsMark
Copy link
Member

ChrsMark commented Jul 7, 2020

Thanks for this PR @dihmandrake !

I think this is a valid change however @jsoriano could you please have a look too?

@ChrsMark
Copy link
Member

ChrsMark commented Jul 7, 2020

jenkins run the tests please

@jsoriano jsoriano self-requested a review July 7, 2020 14:05
@jsoriano jsoriano added test-plan Add this PR to be manual test plan needs_backport PR is waiting to be backported to other branches. v7.9.0 labels Jul 9, 2020
Copy link
Member

@jsoriano jsoriano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change makes sense, my only concern is with the value of metricset.period, but we should be good for most of the cases.

@ChrsMark could you follow up with the merge and backport?

@ChrsMark
Copy link
Member

@dihmandrake could you please add a changelog entry for this change? You can find an example at https://github.com/elastic/beats/pull/19913/files#diff-8a3db71464dcd8830047f8fb92084b27R574.

Thanks!

@dihmandrake
Copy link
Contributor Author

@ChrsMark I added an entry to the changelog file

Copy link
Member

@ChrsMark ChrsMark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution @dihmandrake! I will wait for CI and merge.

@ChrsMark ChrsMark merged commit 4dcbde3 into elastic:master Jul 16, 2020
ChrsMark pushed a commit to ChrsMark/beats that referenced this pull request Jul 16, 2020
…hboard (elastic#19675)

* Fix nanocore sum for non default intervals on Kubernetes Overview Dashboard
The Kibana visualization CPU usage by node [Metricbeat Kubernetes] ECS did not account for x-axis scaling.
In case the scaling aligned with the value from metricset.period it was correct.
In every other case, the sum was not correctly calculated as it did not take into account how big the buckets in the visualizations would be.

* Add changelog entry for k8s dashboard node usage

(cherry picked from commit 4dcbde3)
@ChrsMark ChrsMark removed the needs_backport PR is waiting to be backported to other branches. label Jul 16, 2020
ChrsMark pushed a commit to ChrsMark/beats that referenced this pull request Jul 16, 2020
…hboard (elastic#19675)

* Fix nanocore sum for non default intervals on Kubernetes Overview Dashboard
The Kibana visualization CPU usage by node [Metricbeat Kubernetes] ECS did not account for x-axis scaling.
In case the scaling aligned with the value from metricset.period it was correct.
In every other case, the sum was not correctly calculated as it did not take into account how big the buckets in the visualizations would be.

* Add changelog entry for k8s dashboard node usage

(cherry picked from commit 4dcbde3)
ChrsMark added a commit that referenced this pull request Jul 16, 2020
…hboard (#19675) (#19978)

* Fix nanocore sum for non default intervals on Kubernetes Overview Dashboard
The Kibana visualization CPU usage by node [Metricbeat Kubernetes] ECS did not account for x-axis scaling.
In case the scaling aligned with the value from metricset.period it was correct.
In every other case, the sum was not correctly calculated as it did not take into account how big the buckets in the visualizations would be.

* Add changelog entry for k8s dashboard node usage

(cherry picked from commit 4dcbde3)

Co-authored-by: Jasper Bernhardt <dihmandrake@users.noreply.github.com>
ChrsMark added a commit that referenced this pull request Jul 16, 2020
…hboard (#19675) (#19979)

* Fix nanocore sum for non default intervals on Kubernetes Overview Dashboard
The Kibana visualization CPU usage by node [Metricbeat Kubernetes] ECS did not account for x-axis scaling.
In case the scaling aligned with the value from metricset.period it was correct.
In every other case, the sum was not correctly calculated as it did not take into account how big the buckets in the visualizations would be.

* Add changelog entry for k8s dashboard node usage

(cherry picked from commit 4dcbde3)

Co-authored-by: Jasper Bernhardt <dihmandrake@users.noreply.github.com>
v1v added a commit to v1v/beats that referenced this pull request Jul 20, 2020
…ngs-archive

* upstream/master: (274 commits)
  Test export commands in all Beats (elastic#20016)
  [Ingest Manager] Allow using drop path for agent build (elastic#20019)
  [DOCS] Remove include for deleted file in monitoring docs (elastic#20038)
  Removing xpack.monitoring.* settings (elastic#18608)
  [Heartbeat] Add service_name option for APM integration (elastic#19932)
  [Elastic Agent] Fix merging of fleet.yml. Add --staging to enroll cmd. (elastic#20026)
  Stricter stalebot configuration for PRs (elastic#20004)
  [ci] Favor direct mage invocation on CI (elastic#19960)
  Add cloudwatch input into Filebeat configure inputs documentation (elastic#19973)
  [Filebeat] remove delimiter \n from log line in s3 input (elastic#19972)
  [Metricbeat] Update MySQL dashboard (elastic#19913)
  Packetbeat process monitor: Ignore missing /proc/net/tcp6 (elastic#19945)
  [CI] fix MODULE variable cornercases (elastic#19985)
  Ignore timestamp in fortinet/clientendpoint and netscout/sightline (elastic#19998)
  add 7.9 to .backportrc.json (elastic#19952)
  Update internal links to external (elastic#19947)
  Remove Dynamic Script Compilations warning in Cisco module (elastic#19840)
  [Elastic Agent] Fix RPM and DEB packaging for Elastic Agent (elastic#19959)
  [Ingest Manager] Do not compare err with custom type (elastic#19980)
  Fix nanocore sum for non default intervals on Kubernetes Overview Dashboard (elastic#19675)
  ...
v1v added a commit to v1v/beats that referenced this pull request Jul 20, 2020
…nly-mod

* upstream/master: (75 commits)
  Test export commands in all Beats (elastic#20016)
  [Ingest Manager] Allow using drop path for agent build (elastic#20019)
  [DOCS] Remove include for deleted file in monitoring docs (elastic#20038)
  Removing xpack.monitoring.* settings (elastic#18608)
  [Heartbeat] Add service_name option for APM integration (elastic#19932)
  [Elastic Agent] Fix merging of fleet.yml. Add --staging to enroll cmd. (elastic#20026)
  Stricter stalebot configuration for PRs (elastic#20004)
  [ci] Favor direct mage invocation on CI (elastic#19960)
  Add cloudwatch input into Filebeat configure inputs documentation (elastic#19973)
  [Filebeat] remove delimiter \n from log line in s3 input (elastic#19972)
  [Metricbeat] Update MySQL dashboard (elastic#19913)
  Packetbeat process monitor: Ignore missing /proc/net/tcp6 (elastic#19945)
  [CI] fix MODULE variable cornercases (elastic#19985)
  Ignore timestamp in fortinet/clientendpoint and netscout/sightline (elastic#19998)
  add 7.9 to .backportrc.json (elastic#19952)
  Update internal links to external (elastic#19947)
  Remove Dynamic Script Compilations warning in Cisco module (elastic#19840)
  [Elastic Agent] Fix RPM and DEB packaging for Elastic Agent (elastic#19959)
  [Ingest Manager] Do not compare err with custom type (elastic#19980)
  Fix nanocore sum for non default intervals on Kubernetes Overview Dashboard (elastic#19675)
  ...
@andresrc andresrc added the test-plan-added This PR has been added to the test plan label Jul 21, 2020
@zube zube bot removed the [zube]: Done label Oct 14, 2020
melchiormoulin pushed a commit to melchiormoulin/beats that referenced this pull request Oct 14, 2020
…hboard (elastic#19675)

* Fix nanocore sum for non default intervals on Kubernetes Overview Dashboard
The Kibana visualization CPU usage by node [Metricbeat Kubernetes] ECS did not account for x-axis scaling.
In case the scaling aligned with the value from metricset.period it was correct.
In every other case, the sum was not correctly calculated as it did not take into account how big the buckets in the visualizations would be.

* Add changelog entry for k8s dashboard node usage
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…hboard (elastic#19675) (elastic#19979)

* Fix nanocore sum for non default intervals on Kubernetes Overview Dashboard
The Kibana visualization CPU usage by node [Metricbeat Kubernetes] ECS did not account for x-axis scaling.
In case the scaling aligned with the value from metricset.period it was correct.
In every other case, the sum was not correctly calculated as it did not take into account how big the buckets in the visualizations would be.

* Add changelog entry for k8s dashboard node usage

(cherry picked from commit 114f78c)

Co-authored-by: Jasper Bernhardt <dihmandrake@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Platforms Label for the Integrations - Platforms team test-plan Add this PR to be manual test plan test-plan-added This PR has been added to the test plan v7.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants