Skip to content

Commit 77b7709

Browse files
committed
Merge pull request elastic#210 from simianhacker/fixes-156
Update Infrastructure UI documentation with metric definitions
1 parent 9e33ea5 commit 77b7709

File tree

1 file changed

+56
-3
lines changed

1 file changed

+56
-3
lines changed

docs/en/infraops/installation.asciidoc

Lines changed: 56 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ image::add-data.png[]
4444
* If your data source isn't in the list, or you want to install {beats} the old
4545
fashioned way:
4646

47-
** Follow the
47+
** Follow the
4848
{metricbeat-ref}/metricbeat-getting-started.html[{metricbeat} getting started]
4949
and enable modules for the metrics you want to collect.
5050

@@ -58,10 +58,11 @@ learn how to configure inputs.
5858
For either approach, you need to enable modules in {filebeat} and {metricbeat}
5959
to populate the {infra-ui} UI with data.
6060

61+
6162
[float]
6263
==== Which modules and configuration options do I enable?
6364

64-
To populate the *Hosts* view and add logs, enable:
65+
To populate the *Hosts* view and add logs, enable:
6566

6667
* {metricbeat-ref}/metricbeat-module-system.html[{metricbeat} `system` module] (enabled by default)
6768
* {filebeat-ref}/filebeat-module-system.html[{filebeat} `system` module]
@@ -86,7 +87,59 @@ module]
8687
* {filebeat-ref}/add-kubernetes-metadata.html[{filebeat} `add_kubernetes_metadata` processor]
8788

8889
[float]
89-
==== More about monitoring containers
90+
==== Which fields are used for the metrics on the Infrastructue home page?
91+
92+
The metrics listed below are provided by the Beats Shippers. Each system type requires their corresponding identity field to be in the same event document:
93+
94+
* Hosts require `host.name`
95+
* Docker containers require `container.id`
96+
* Kibernetes pods require `kibernetes.pod.uid`
97+
98+
99+
[float]
100+
===== Host Metrics
101+
102+
*CPU Usage*:: Average of `system.cpu.user.pct` added to the average of `system.cpu.system.pct` divided by `system.cpu.cores`
103+
104+
*Memory Usage*:: Average of `system.memory.actual.used.pct`
105+
106+
*Load*:: Average of `system.load.5`
107+
108+
*Inbound Traffic*:: Derivative of the max of `system.netowrk.in.bytes` scaled to a 1 second rate
109+
110+
*Outbound Traffic*:: Derivative of the max of `system.netowrk.out.bytes` scaled to a 1 second rate
111+
112+
*Log Rate*:: Derivative of the cumulative sum of the document count scaled to a 1 second rate.
113+
This metric relies on the same indices as the logs.
114+
115+
116+
[float]
117+
===== Docker Container Metrics
118+
119+
*CPU Usage*:: Average of `docker.cpu.total.pct`
120+
121+
*Memory Usage*:: Average of `docker.memory.usage.pct`
122+
123+
*Inbound Traffic*:: Derivative of the max of `docker.network.in.bytes` scaled to a 1 second rate
124+
125+
*Outbound Traffic*:: Derivative of the max of `docker.network.out.bytes` scaled to a 1 second rate
126+
127+
128+
[float]
129+
===== Kubernetes Pod Metrics
130+
131+
*CPU Usage*:: Average of `kubernetes.pod.cpu.usage.node.pct`
132+
133+
*Memory Usage*:: Average of `kubernetes.pod.memory.usage.pct`
134+
135+
*Inbound Traffic*:: Derivative of the max of `kubernetes.pod.network.rx.bytes` scaled to a 1 second rate
136+
137+
*Outbound Traffic*:: Derivative of the max of `kubernetes.pod.network.tx.bytes` scaled to a 1 second rate
138+
139+
140+
141+
[float]
142+
==== More about container monitoring
90143

91144
If you're monitoring containers, you can use autodiscover to automatically apply
92145
configuration changes in response to changes in your containers. To learn how,

0 commit comments

Comments
 (0)