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

Update kubernetes apiserver metrics and dashboard #31973

Merged
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.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ https://github.com/elastic/beats/compare/v8.2.0\...main[Check the HEAD diff]
- make `system/filesystem` code sensitive to `hostfs` and migrate libraries to `elastic-agent-opts` {pull}31001[31001]
- Fix kubernetes module's internal cache expiration issue. This avoid metrics like `kubernetes.container.cpu.usage.limit.pct` from not being populated. {pull}31785[31785]
- add missing HealthyHostCount and UnHealthyHostCount for application ELB. {pull}31853[31853]
- update kubernetes apiserver metricset to not collect deprecated metrics and fix dashboard {pull}31973[31973]

*Packetbeat*

Expand Down
99 changes: 19 additions & 80 deletions metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -42645,16 +42645,6 @@ Kubernetes API server metrics



*`kubernetes.apiserver.request.client`*::
Copy link
Member

Choose a reason for hiding this comment

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

Add a note in the PR's description that it's not a breaking change but a bug fix instead to avoid future confusions.

+
--
Client executing requests


type: keyword

--

*`kubernetes.apiserver.request.resource`*::
+
--
Expand Down Expand Up @@ -42846,95 +42836,71 @@ type: double
--


*`kubernetes.apiserver.http.request.duration.us.percentile.*`*::
*`kubernetes.apiserver.watch.events.size.bytes.bucket.*`*::
+
--
Request duration microseconds percentiles
Watch event size distribution in bytes

type: object

--

*`kubernetes.apiserver.http.request.duration.us.sum`*::
*`kubernetes.apiserver.watch.events.size.bytes.sum`*::
+
--
Request duration microseconds cumulative sum
Sum of watch events sizes in bytes

type: double
type: long

format: bytes

--

*`kubernetes.apiserver.http.request.duration.us.count`*::
*`kubernetes.apiserver.watch.events.size.bytes.count`*::
+
--
Request count for duration
Number of watch events

type: long

--

*`kubernetes.apiserver.http.request.size.bytes.percentile.*`*::
*`kubernetes.apiserver.watch.events.kind`*::
+
--
Request size percentiles
Resource kind of the watch event

type: object

--
type: keyword

*`kubernetes.apiserver.http.request.size.bytes.sum`*::
+
--
Request size cumulative sum

type: long

format: bytes

--

*`kubernetes.apiserver.http.request.size.bytes.count`*::
*`kubernetes.apiserver.response.size.bytes.bucket.*`*::
+
--
Request count for size

type: long
Response size distribution in bytes for each group, version, verb, resource, subresource, scope and component.

--

*`kubernetes.apiserver.http.response.size.bytes.percentile.*`*::
+
--
Response size percentiles

type: object

--

*`kubernetes.apiserver.http.response.size.bytes.sum`*::
*`kubernetes.apiserver.response.size.bytes.sum`*::
+
--
Response size cumulative sum
Sum of responses sizes in bytes

type: long

format: bytes

--

*`kubernetes.apiserver.http.response.size.bytes.count`*::
+
--
Response count

type: long

--

*`kubernetes.apiserver.http.request.count`*::
*`kubernetes.apiserver.response.size.bytes.count`*::
+
--
Request count for response
Number of responses to requests

type: long

Expand All @@ -42959,33 +42925,6 @@ type: long

--

*`kubernetes.apiserver.request.latency.sum`*::
+
--
Requests latency, sum of latencies in microseconds

type: long

--

*`kubernetes.apiserver.request.latency.count`*::
+
--
Request latency, number of requests

type: long

--

*`kubernetes.apiserver.request.latency.bucket.*`*::
+
--
Request latency histogram buckets

type: object

--

*`kubernetes.apiserver.request.duration.us.sum`*::
+
--
Expand All @@ -43007,7 +42946,7 @@ type: long
*`kubernetes.apiserver.request.duration.us.bucket.*`*::
+
--
Request duration, histogram buckets
Response latency distribution, histogram buckets

type: object

Expand Down

This file was deleted.

Loading