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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ https://github.com/elastic/beats/compare/v7.5.0...v7.5.1[View commits]
- Fix ListMetrics pagination in aws module. {issue}14926[14926] {pull}14942[14942]
- Fix CPU count in docker/cpu in cases where no `online_cpus` are reported {pull}15070[15070]
- Add domain state to kvm module {pull}17673[17673]
- Fix Kubernetes Overview Dashboard to correctly display non 10s intervals for node usage {pull}19675[19675]

[[release-notes-7.5.0]]
=== Beats version 7.5.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,28 @@
"field": "kubernetes.container.cpu.usage.nanocores",
"id": "0d5c9221-2bf2-11e7-859b-f78b612cde28",
"type": "sum"
},
{
"id": "8b346300-bf95-11ea-a07c-851701f0d645",
"type": "avg",
"field": "metricset.period"
dihmandrake marked this conversation as resolved.
Show resolved Hide resolved
},
{
"id": "25ae6580-bf95-11ea-a07c-851701f0d645",
"type": "calculation",
"variables": [
{
"id": "39e40aa0-bf95-11ea-a07c-851701f0d645",
"name": "sum_nanocores",
"field": "0d5c9221-2bf2-11e7-859b-f78b612cde28"
},
{
"id": "85213600-bf95-11ea-a07c-851701f0d645",
"name": "avg_period",
"field": "8b346300-bf95-11ea-a07c-851701f0d645"
}
],
"script": "params.sum_nanocores / (params._interval / params.avg_period)"
}
],
"override_index_pattern": 0,
Expand Down