You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* implement a Prometheus bridge
The bridge reads metrics from the Prometheus registry, and converts
them to our own metrics. This is currently supported for Counters,
Gauges, and Summaries. Histograms are not supported.
Copy file name to clipboardExpand all lines: docs/metrics.asciidoc
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ These metrics will be sent regularly to the APM Server and from there to Elastic
11
11
* <<cpu-memory-metricset>>
12
12
* <<transactions-metricset>>
13
13
* <<breakdown-metricset>>
14
+
* <<prometheus-metricset>>
14
15
15
16
[float]
16
17
[[cpu-memory-metricset]]
@@ -178,3 +179,28 @@ You can filter and group by these dimensions:
178
179
* `span.subtype`: The sub-type of the span, for example `mysql` (optional)
179
180
180
181
--
182
+
[float]
183
+
[[prometheus-metricset]]
184
+
==== Prometheus metric set (beta)
185
+
186
+
beta[]
187
+
188
+
If you use https://github.com/prometheus/client_python[`prometheus_client`] to collect metrics, the agent can
189
+
collect them as well and make them available in Elasticsearch.
190
+
191
+
The following types of metrics are supported:
192
+
193
+
* Counters
194
+
* Gauges
195
+
* Summaries
196
+
197
+
To use the Prometheus metric set, you have to enable it with the <<config-prometheus_metrics, `prometheus_metrics`>> configuration option.
198
+
199
+
All metrics collected from `prometheus_client` are prefixed with `"prometheus.metrics."`. This can be changed using the <<config-prometheus_metrics_prefix, `prometheus_metrics_prefix`>> configuration option.
200
+
201
+
[float]
202
+
[[prometheus-metricset-beta]]
203
+
===== Beta limitations
204
+
* The metrics format may change without backwards compatibility in future releases.
0 commit comments