forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix k8s scheduler compatibility issue (elastic#19699)
(cherry picked from commit aa60a58)
Showing
10 changed files
with
1,451 additions
and
148 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
302 changes: 158 additions & 144 deletions
302
metricbeat/module/kubernetes/scheduler/_meta/test/metrics.scheduler.1.14.expected
Large diffs are not rendered by default.
Oops, something went wrong.
970 changes: 970 additions & 0 deletions
970
metricbeat/module/kubernetes/scheduler/_meta/test/metrics.scheduler.1.17
Large diffs are not rendered by default.
Oops, something went wrong.
264 changes: 264 additions & 0 deletions
264
metricbeat/module/kubernetes/scheduler/_meta/test/metrics.scheduler.1.17.expected
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,264 @@ | ||
[ | ||
{ | ||
"RootFields": null, | ||
"ModuleFields": null, | ||
"MetricSetFields": { | ||
"client": { | ||
"request": { | ||
"count": 25425 | ||
} | ||
}, | ||
"code": "200", | ||
"host": "localhost:8443", | ||
"method": "GET" | ||
}, | ||
"Index": "", | ||
"ID": "", | ||
"Namespace": "", | ||
"Timestamp": "0001-01-01T00:00:00Z", | ||
"Error": null, | ||
"Host": "", | ||
"Service": "", | ||
"Took": 0, | ||
"Period": 0, | ||
"DisableTimeSeries": false | ||
}, | ||
{ | ||
"RootFields": null, | ||
"ModuleFields": null, | ||
"MetricSetFields": { | ||
"process": { | ||
"cpu": { | ||
"sec": 67 | ||
}, | ||
"fds": { | ||
"open": { | ||
"count": 12 | ||
} | ||
}, | ||
"memory": { | ||
"resident": { | ||
"bytes": 53444608 | ||
}, | ||
"virtual": { | ||
"bytes": 148291584 | ||
} | ||
}, | ||
"started": { | ||
"sec": 1592899682.08 | ||
} | ||
}, | ||
"scheduling": { | ||
"e2e": { | ||
"duration": { | ||
"us": { | ||
"bucket": { | ||
"+Inf": 10, | ||
"1000": 0, | ||
"1024000": 10, | ||
"128000": 10, | ||
"16000": 8, | ||
"16384000": 10, | ||
"2000": 0, | ||
"2048000": 10, | ||
"256000": 10, | ||
"32000": 10, | ||
"4000": 0, | ||
"4096000": 10, | ||
"512000": 10, | ||
"64000": 10, | ||
"8000": 4, | ||
"8192000": 10 | ||
}, | ||
"count": 10, | ||
"sum": 104991.73000000001 | ||
} | ||
} | ||
}, | ||
"pod": { | ||
"preemption": { | ||
"victims": { | ||
"bucket": { | ||
"+Inf": 0, | ||
"10": 0, | ||
"15": 0, | ||
"20": 0, | ||
"25": 0, | ||
"30": 0, | ||
"35": 0, | ||
"40": 0, | ||
"45": 0, | ||
"5": 0, | ||
"50": 0 | ||
}, | ||
"count": 0, | ||
"sum": 0 | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"Index": "", | ||
"ID": "", | ||
"Namespace": "", | ||
"Timestamp": "0001-01-01T00:00:00Z", | ||
"Error": null, | ||
"Host": "", | ||
"Service": "", | ||
"Took": 0, | ||
"Period": 0, | ||
"DisableTimeSeries": false | ||
}, | ||
{ | ||
"RootFields": null, | ||
"ModuleFields": null, | ||
"MetricSetFields": { | ||
"operation": "predicate_evaluation", | ||
"scheduling": { | ||
"duration": { | ||
"seconds": { | ||
"count": 10, | ||
"percentile": { | ||
"50": 0.000060365, | ||
"90": 0.000115423, | ||
"99": 0.000754095 | ||
}, | ||
"sum": 0.0013853759999999998 | ||
} | ||
} | ||
} | ||
}, | ||
"Index": "", | ||
"ID": "", | ||
"Namespace": "", | ||
"Timestamp": "0001-01-01T00:00:00Z", | ||
"Error": null, | ||
"Host": "", | ||
"Service": "", | ||
"Took": 0, | ||
"Period": 0, | ||
"DisableTimeSeries": false | ||
}, | ||
{ | ||
"RootFields": null, | ||
"ModuleFields": null, | ||
"MetricSetFields": { | ||
"operation": "binding", | ||
"scheduling": { | ||
"duration": { | ||
"seconds": { | ||
"count": 10, | ||
"percentile": { | ||
"50": 0.008087556, | ||
"90": 0.019238477, | ||
"99": 0.021775325 | ||
}, | ||
"sum": 0.101037043 | ||
} | ||
} | ||
} | ||
}, | ||
"Index": "", | ||
"ID": "", | ||
"Namespace": "", | ||
"Timestamp": "0001-01-01T00:00:00Z", | ||
"Error": null, | ||
"Host": "", | ||
"Service": "", | ||
"Took": 0, | ||
"Period": 0, | ||
"DisableTimeSeries": false | ||
}, | ||
{ | ||
"RootFields": null, | ||
"ModuleFields": null, | ||
"MetricSetFields": { | ||
"client": { | ||
"request": { | ||
"count": 1 | ||
} | ||
}, | ||
"code": "403", | ||
"host": "localhost:8443", | ||
"method": "GET" | ||
}, | ||
"Index": "", | ||
"ID": "", | ||
"Namespace": "", | ||
"Timestamp": "0001-01-01T00:00:00Z", | ||
"Error": null, | ||
"Host": "", | ||
"Service": "", | ||
"Took": 0, | ||
"Period": 0, | ||
"DisableTimeSeries": false | ||
}, | ||
{ | ||
"RootFields": null, | ||
"ModuleFields": null, | ||
"MetricSetFields": { | ||
"leader": { | ||
"is_master": true | ||
}, | ||
"name": "kube-scheduler" | ||
}, | ||
"Index": "", | ||
"ID": "", | ||
"Namespace": "", | ||
"Timestamp": "0001-01-01T00:00:00Z", | ||
"Error": null, | ||
"Host": "", | ||
"Service": "", | ||
"Took": 0, | ||
"Period": 0, | ||
"DisableTimeSeries": false | ||
}, | ||
{ | ||
"RootFields": null, | ||
"ModuleFields": null, | ||
"MetricSetFields": { | ||
"client": { | ||
"request": { | ||
"count": 16634 | ||
} | ||
}, | ||
"code": "200", | ||
"host": "localhost:8443", | ||
"method": "PUT" | ||
}, | ||
"Index": "", | ||
"ID": "", | ||
"Namespace": "", | ||
"Timestamp": "0001-01-01T00:00:00Z", | ||
"Error": null, | ||
"Host": "", | ||
"Service": "", | ||
"Took": 0, | ||
"Period": 0, | ||
"DisableTimeSeries": false | ||
}, | ||
{ | ||
"RootFields": null, | ||
"ModuleFields": null, | ||
"MetricSetFields": { | ||
"client": { | ||
"request": { | ||
"count": 22 | ||
} | ||
}, | ||
"code": "201", | ||
"host": "localhost:8443", | ||
"method": "POST" | ||
}, | ||
"Index": "", | ||
"ID": "", | ||
"Namespace": "", | ||
"Timestamp": "0001-01-01T00:00:00Z", | ||
"Error": null, | ||
"Host": "", | ||
"Service": "", | ||
"Took": 0, | ||
"Period": 0, | ||
"DisableTimeSeries": false | ||
} | ||
] |
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