Export metrics with NGINX Agent
Overview
F5 NGINX Agent now includes an embedded OpenTelemetry collector, streamlining observability and metric collection for NGINX instances. With this feature, you can collect:
- Metrics from NGINX Plus and NGINX Open Source
- Host metrics (CPU, memory, disk, and network activity) from VMs or Containers
Note:
The OpenTelemetry exporter is enabled by default. Once a valid connection to the management plane is established, the Agent will automatically begin exporting metrics.
Key benefits
- Seamless Integration: No need to deploy an external OpenTelemetry Collector. All components are embedded within the Agent for streamlined observability.
- Standardized Protocol: Support for OpenTelemetry standards ensures interoperability with a wide range of observability backends, including Jaeger, Prometheus, Splunk, and more.
Verify that metrics are exported
You can validate that metrics are successfully exported by using the methods below:
-
NGINX One dashboard
- When an instance has connected to NGINX One Console See: Connect to NGINX One Console, you should see metrics showing on the NGINX One Dashboard.
-
Agent logs
Check the OpenTelemetry Collector logs for confirmation of successful metric processing:
-
Open the file:
/var/log/nginx-agent/opentelemetry-collector-agent.log
-
Look for the following logs:
Everything is ready. Begin running and processing data.
-