- node(default):
The only supported format_mode for PushGateway.
Return the current node's metrics.
- Without label `node_name` with content-type: `text/plain`.
- Without key `node_name` with content-type: `application/json`
- nodes_aggregated:
Return all nodes metrics Arithmetic-Sum or Logical-Sum.
See details in callback modules.
- Logical-Sum for metrics named with `xxx_enable` or `xxx_status`.
- Arithmetic-Sum for other metrics.
`node_name` field:
- Without label `node_name` with content-type: `text/plain`.
- Without key `node_name` with content-type: `application/json`
- nodes_unaggregated:
Return all nodes metrics without aggregated.
`node_name` field:
- _With_ label `node_name` with content-type: `text/plain`.
- _With_ key `node_name` with content-type: `application/json`
|
||
|---|---|---|
| .. | ||
| etc | ||
| grafana_template | ||
| include | ||
| src | ||
| test | ||
| .gitignore | ||
| README.md | ||
| rebar.config | ||
EMQX Prometheus Agent
This application provides the ability to integrate with Prometheus. It provides an HTTP API for collecting metrics of the current node and also supports configuring a Push Gateway URL address for pushing these metrics.
More introduction about Integrate with Prometheus
See HTTP API docs to learn how to Update Prometheus config and Get all metrics data.
Correspondingly, we have also provided a Grafana template for visualizing these metrics.