Skip to content

Commit

Permalink
[metricbeat]update apiserver metrics (#12922)
Browse files Browse the repository at this point in the history
* Kubernetes apiserver metrics update
* Added etcd and audit metrics among others
  • Loading branch information
odacremolbap authored Jul 18, 2019
1 parent 4f74aa9 commit 833c022
Show file tree
Hide file tree
Showing 15 changed files with 74,432 additions and 18,690 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Add Kubernetes controller manager dashboard to Kubernetes module {pull}12744[12744]
- Allow redis URL format in redis hosts config. {pull}12408[12408]
- Add tags into ec2 metricset. {issue}[12263]12263 {pull}12372[12372]
- Add metrics to kubernetes apiserver metricset. {pull}12922[12922]
- Add kubernetes metricset `scheduler` {pull}12521[12521]
- Add Kubernetes scheduler dashboard to Kubernetes module {pull}12749[12749]
- Add `beat` module. {pull}12181[12181] {pull}12615[12615]
Expand Down
335 changes: 329 additions & 6 deletions metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -13649,7 +13649,7 @@ Kubernetes API server metrics
*`kubernetes.apiserver.request.client`*::
+
--
Client doing the requests
Client executing requests
type: keyword
Expand Down Expand Up @@ -13689,18 +13689,272 @@ type: keyword
*`kubernetes.apiserver.request.verb`*::
+
--
Request HTTP verb
HTTP verb
type: keyword
--
*`kubernetes.apiserver.request.count`*::
*`kubernetes.apiserver.request.code`*::
+
--
Total number of requests
HTTP code
type: keyword
--
*`kubernetes.apiserver.request.content_type`*::
+
--
Request HTTP content type
type: keyword
--
*`kubernetes.apiserver.request.dry_run`*::
+
--
Wether the request uses dry run
type: keyword
--
*`kubernetes.apiserver.request.kind`*::
+
--
Kind of request
type: keyword
--
*`kubernetes.apiserver.request.component`*::
+
--
Component handling the request
type: keyword
--
*`kubernetes.apiserver.request.group`*::
+
--
API group for the resource
type: keyword
--
*`kubernetes.apiserver.request.version`*::
+
--
version for the group
type: keyword
--
*`kubernetes.apiserver.request.handler`*::
+
--
Request handler
type: keyword
--
*`kubernetes.apiserver.request.method`*::
+
--
HTTP method
type: keyword
--
*`kubernetes.apiserver.request.host`*::
+
--
Request host
type: keyword
--
*`kubernetes.apiserver.process.cpu.sec`*::
+
--
CPU seconds
type: double
--
*`kubernetes.apiserver.process.memory.resident.bytes`*::
+
--
Bytes in resident memory
type: long
format: bytes
--
*`kubernetes.apiserver.process.memory.virtual.bytes`*::
+
--
Bytes in virtual memory
type: long
format: bytes
--
*`kubernetes.apiserver.process.fds.open.count`*::
+
--
Number of open file descriptors
type: long
--
*`kubernetes.apiserver.process.started.sec`*::
+
--
Seconds since the process started
type: double
--
*`kubernetes.apiserver.http.request.duration.us.percentile.*`*::
+
--
Request duration microseconds percentiles
type: object
--
*`kubernetes.apiserver.http.request.duration.us.sum`*::
+
--
Request duration microseconds cumulative sum
type: double
--
*`kubernetes.apiserver.http.request.duration.us.count`*::
+
--
Request count for duration
type: long
--
*`kubernetes.apiserver.http.request.size.bytes.percentile.*`*::
+
--
Request size percentiles
type: object
--
*`kubernetes.apiserver.http.request.size.bytes.sum`*::
+
--
Request size cumulative sum
type: long
format: bytes
--
*`kubernetes.apiserver.http.request.size.bytes.count`*::
+
--
Request count for size
type: long
--
*`kubernetes.apiserver.http.response.size.bytes.percentile.*`*::
+
--
Response size percentiles
type: object
--
*`kubernetes.apiserver.http.response.size.bytes.sum`*::
+
--
Response size cumulative sum
type: long
format: bytes
--
*`kubernetes.apiserver.http.response.size.bytes.count`*::
+
--
Response count
type: long
--
*`kubernetes.apiserver.http.request.count`*::
+
--
Request count for response
type: long
--
*`kubernetes.apiserver.client.request.count`*::
+
--
Number of requests as client
type: long
--
*`kubernetes.apiserver.request.count`*::
+
--
Number of requests
type: long
Expand All @@ -13711,7 +13965,6 @@ type: long
--
Requests latency, sum of latencies in microseconds
type: long
--
Expand All @@ -13721,7 +13974,6 @@ type: long
--
Request latency, number of requests
type: long
--
Expand All @@ -13731,11 +13983,82 @@ type: long
--
Request latency histogram buckets
type: object
--
*`kubernetes.apiserver.request.duration.us.sum`*::
+
--
Request duration, sum in microseconds
type: long
--
*`kubernetes.apiserver.request.duration.us.count`*::
+
--
Request duration, number of operations
type: long
--
*`kubernetes.apiserver.request.duration.us.bucket.*`*::
+
--
Request duration, histogram buckets
type: object
--
*`kubernetes.apiserver.request.current.count`*::
+
--
Inflight requests
type: long
--
*`kubernetes.apiserver.request.longrunning.count`*::
+
--
Number of requests active long running requests
type: long
--
*`kubernetes.apiserver.etcd.object.count`*::
+
--
Number of kubernetes objects at etcd
type: long
--
*`kubernetes.apiserver.audit.event.count`*::
+
--
Number of audit events
type: long
--
*`kubernetes.apiserver.audit.rejected.count`*::
+
--
Number of audit rejected events
type: long
--
[float]
=== container
Expand Down
Loading

0 comments on commit 833c022

Please sign in to comment.