Skip to content

Commit

Permalink
replace fields group naming (#12750)
Browse files Browse the repository at this point in the history
- replace group naming for kubescheduler scheduling
  • Loading branch information
odacremolbap authored Jul 2, 2019
1 parent 03dc081 commit 8f0412d
Show file tree
Hide file tree
Showing 7 changed files with 222 additions and 228 deletions.
16 changes: 8 additions & 8 deletions metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -15526,7 +15526,7 @@ type: boolean
--
*`kubernetes.scheduler.scheduler.e2e.duration.us.bucket.*`*::
*`kubernetes.scheduler.scheduling.e2e.duration.us.bucket.*`*::
+
--
End to end scheduling duration microseconds
Expand All @@ -15535,7 +15535,7 @@ type: object
--
*`kubernetes.scheduler.scheduler.e2e.duration.us.sum`*::
*`kubernetes.scheduler.scheduling.e2e.duration.us.sum`*::
+
--
End to end scheduling duration microseconds sum
Expand All @@ -15544,7 +15544,7 @@ type: long
--
*`kubernetes.scheduler.scheduler.e2e.duration.us.count`*::
*`kubernetes.scheduler.scheduling.e2e.duration.us.count`*::
+
--
End to end scheduling count
Expand All @@ -15553,7 +15553,7 @@ type: long
--
*`kubernetes.scheduler.scheduler.pod.preemption.victims.count`*::
*`kubernetes.scheduler.scheduling.pod.preemption.victims.count`*::
+
--
Pod preemption victims
Expand All @@ -15562,7 +15562,7 @@ type: long
--
*`kubernetes.scheduler.scheduler.pod.attempts.count`*::
*`kubernetes.scheduler.scheduling.pod.attempts.count`*::
+
--
Pod attempts count
Expand All @@ -15571,7 +15571,7 @@ type: long
--
*`kubernetes.scheduler.scheduler.duration.seconds.percentile.*`*::
*`kubernetes.scheduler.scheduling.duration.seconds.percentile.*`*::
+
--
Scheduling duration percentiles
Expand All @@ -15580,7 +15580,7 @@ type: object
--
*`kubernetes.scheduler.scheduler.duration.seconds.sum`*::
*`kubernetes.scheduler.scheduling.duration.seconds.sum`*::
+
--
Scheduling duration cumulative sum
Expand All @@ -15589,7 +15589,7 @@ type: double
--
*`kubernetes.scheduler.scheduler.duration.seconds.count`*::
*`kubernetes.scheduler.scheduling.duration.seconds.count`*::
+
--
Scheduling count
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/kubernetes/fields.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 7 additions & 13 deletions metricbeat/module/kubernetes/scheduler/_meta/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,14 @@
},
"kubernetes": {
"scheduler": {
"operation": "binding",
"scheduler": {
"duration": {
"seconds": {
"count": 3,
"percentile": {
"50": 0.012318629,
"90": 0.012921477,
"99": 0.012921477
},
"sum": 0.039052979
}
"client": {
"request": {
"count": 4631
}
}
},
"code": "200",
"host": "localhost:8443",
"method": "PUT"
}
},
"metricset": {
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/kubernetes/scheduler/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
description: >
Whether the node is master
- name: scheduler
- name: scheduling
type: group
fields:
- name: e2e.duration.us.bucket.*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,11 @@
"RootFields": null,
"ModuleFields": null,
"MetricSetFields": {
"operation": "preemption_evaluation",
"scheduler": {
"duration": {
"seconds": {
"count": 154,
"percentile": {
"50": 0.008470238,
"90": 0.016152651,
"99": 0.026165495
},
"sum": 1.5003563099999988
"result": "scheduled",
"scheduling": {
"pod": {
"attempts": {
"count": 3
}
}
}
Expand Down Expand Up @@ -97,11 +91,17 @@
"RootFields": null,
"ModuleFields": null,
"MetricSetFields": {
"result": "unschedulable",
"scheduler": {
"pod": {
"attempts": {
"count": 154
"operation": "binding",
"scheduling": {
"duration": {
"seconds": {
"count": 3,
"percentile": {
"50": 0.012318629,
"90": 0.012921477,
"99": 0.012921477
},
"sum": 0.039052979
}
}
}
Expand Down Expand Up @@ -244,17 +244,11 @@
"RootFields": null,
"ModuleFields": null,
"MetricSetFields": {
"operation": "predicate_evaluation",
"scheduler": {
"duration": {
"seconds": {
"count": 3,
"percentile": {
"50": 0.00004643,
"90": 0.000058348,
"99": 0.000058348
},
"sum": 0.003265988
"result": "unschedulable",
"scheduling": {
"pod": {
"attempts": {
"count": 154
}
}
}
Expand All @@ -274,7 +268,7 @@
"ModuleFields": null,
"MetricSetFields": {
"result": "error",
"scheduler": {
"scheduling": {
"pod": {
"attempts": {
"count": 0
Expand All @@ -296,17 +290,46 @@
"RootFields": null,
"ModuleFields": null,
"MetricSetFields": {
"operation": "binding",
"scheduler": {
"operation": "predicate_evaluation",
"scheduling": {
"duration": {
"seconds": {
"count": 3,
"percentile": {
"50": 0.012318629,
"90": 0.012921477,
"99": 0.012921477
"50": 0.00004643,
"90": 0.000058348,
"99": 0.000058348
},
"sum": 0.039052979
"sum": 0.003265988
}
}
}
},
"Index": "",
"ID": "",
"Namespace": "",
"Timestamp": "0001-01-01T00:00:00Z",
"Error": null,
"Host": "",
"Service": "",
"Took": 0,
"DisableTimeSeries": false
},
{
"RootFields": null,
"ModuleFields": null,
"MetricSetFields": {
"operation": "preemption_evaluation",
"scheduling": {
"duration": {
"seconds": {
"count": 154,
"percentile": {
"50": 0.008470238,
"90": 0.016152651,
"99": 0.026165495
},
"sum": 1.5003563099999988
}
}
}
Expand Down Expand Up @@ -346,7 +369,7 @@
"sec": 1560349587.32
}
},
"scheduler": {
"scheduling": {
"e2e": {
"duration": {
"us": {
Expand Down Expand Up @@ -391,28 +414,5 @@
"Service": "",
"Took": 0,
"DisableTimeSeries": false
},
{
"RootFields": null,
"ModuleFields": null,
"MetricSetFields": {
"result": "scheduled",
"scheduler": {
"pod": {
"attempts": {
"count": 3
}
}
}
},
"Index": "",
"ID": "",
"Namespace": "",
"Timestamp": "0001-01-01T00:00:00Z",
"Error": null,
"Host": "",
"Service": "",
"Took": 0,
"DisableTimeSeries": false
}
]
Loading

0 comments on commit 8f0412d

Please sign in to comment.