Skip to content

[metricbeat]Add kubeproxy dashboard #12734

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

Merged
merged 6 commits into from
Jul 4, 2019
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
3 changes: 2 additions & 1 deletion CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Keep `etcd` followers members from reporting `leader` metricset events {pull}12004[12004]
- Add overview dashboard to Consul module {pull}10665[10665]
- New fields were added in the mysql/status metricset. {pull}12227[12227]
- Added kubernetes metricset `proxy`. {pull}12312[12312]
- Add Kubernetes metricset `proxy`. {pull}12312[12312]
- Add Kubernetes proxy dashboard to Kubernetes module {pull}12734[12734]
- Always report Pod UID in the `pod` metricset. {pull}12345[12345]
- Add Vsphere Virtual Machine operating system to `os` field in Vsphere virtualmachine module. {pull}12391[12391]
- Add validation for elasticsearch and kibana modules' metricsets when xpack.enabled is set to true. {pull}12386[12386]
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 17 additions & 3 deletions metricbeat/docs/modules/kubernetes.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ This file is generated! See scripts/docs_collector.py
[[metricbeat-module-kubernetes]]
== Kubernetes module

This module fetches metrics from Kubernetes https://kubernetes.io/docs/admin/kubelet/[kubelet]
agent and https://github.com/kubernetes/kube-state-metrics[kube-state-metrics] service.
This module fetches metrics from Kubernetes several components:

- https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/[kubelet]
- https://github.com/kubernetes/kube-state-metrics[kube-state-metrics]
- https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/[apiserver]
- https://kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/[proxy]

All metricsets with the `state_` prefix require `hosts` field pointing to kube-state-metrics
service within the cluster, while the rest should be pointed to kubelet service. Check the
Expand All @@ -17,7 +21,17 @@ The default metricsets are `container`, `node`, `pod`, `system` and `volume`.
[float]
=== Compability

The Kubernetes module is tested with Kubernetes 1.8.0, 1.9.4 and 1.10.0.
The Kubernetes module is tested with Kubernetes 1.13.x and 1.14.x

[float]
=== Dashboard

Kubernetes module is shipped including default dashboards for `apiserver` and `proxy`.
If you are using HA for those components, be aware that when gathering data from all instances the dashboard will usually show and average of the metrics. For those scenarios filtering by hosts or service address is possible.

Kubernetes proxy example:

image::./images/metricbeat-kubernetes-proxy.png[]


[float]
Expand Down
20 changes: 17 additions & 3 deletions metricbeat/module/kubernetes/_meta/docs.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
This module fetches metrics from Kubernetes https://kubernetes.io/docs/admin/kubelet/[kubelet]
agent and https://github.com/kubernetes/kube-state-metrics[kube-state-metrics] service.
This module fetches metrics from Kubernetes several components:

- https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/[kubelet]
- https://github.com/kubernetes/kube-state-metrics[kube-state-metrics]
- https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/[apiserver]
- https://kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/[proxy]

All metricsets with the `state_` prefix require `hosts` field pointing to kube-state-metrics
service within the cluster, while the rest should be pointed to kubelet service. Check the
Expand All @@ -10,4 +14,14 @@ The default metricsets are `container`, `node`, `pod`, `system` and `volume`.
[float]
=== Compability

The Kubernetes module is tested with Kubernetes 1.8.0, 1.9.4 and 1.10.0.
The Kubernetes module is tested with Kubernetes 1.13.x and 1.14.x

[float]
=== Dashboard

Kubernetes module is shipped including default dashboards for `apiserver` and `proxy`.
If you are using HA for those components, be aware that when gathering data from all instances the dashboard will usually show and average of the metrics. For those scenarios filtering by hosts or service address is possible.

Kubernetes proxy example:

image::./images/metricbeat-kubernetes-proxy.png[]
Loading