The New Relic Infrastructure Agent is a lightweight, open-source daemon that collects inventory data, system metrics, and application events from a host and streams them to the New Relic observability platform. It operates as a foundational telemetry pipeline, automatically discovering software and hardware components to provide a real-time inventory and health dashboard for servers, containers, and virtual machines. Its architecture supports integrations and on-host integrations for extending data collection to specific services like NGINX, MySQL, or Redis.
Glossary
New Relic Infrastructure Agent

What is the New Relic Infrastructure Agent?
A core component for collecting host and application telemetry within the New Relic observability ecosystem.
The agent is a critical data source for agentic observability, feeding the metrics and events required to monitor the deterministic execution of autonomous systems in production. It enables agent deployment observability by reporting on the health and resource consumption of the hosts running agent workloads. Data is sent via a secure connection to New Relic's cloud platform, where it can be correlated with distributed traces and application logs for a unified view of system performance and reliability.
Key Features and Capabilities
The New Relic Infrastructure Agent is a daemon that collects inventory, metrics, and events from a host system. Its core capabilities are designed for comprehensive observability, seamless integration, and enterprise-grade operational resilience.
Unified Data Collection
The agent performs holistic host monitoring by gathering a wide array of system telemetry into a single data stream. This includes:
- System inventory: OS version, kernel, CPU architecture, network interfaces.
- Resource metrics: CPU, memory, disk I/O, and network utilization.
- Process-level details: Running services, resource consumption per process.
- Application metrics: From integrated technologies like NGINX, PostgreSQL, or Redis via plugins. This unified collection eliminates the need for multiple, disparate monitoring agents, simplifying the observability stack.
Flexible Integrations & Plugins
The agent's functionality is extended through a plugin architecture. Users can install integrations (pre-built plugins) for common services or develop custom plugins using the agent's SDK. Key aspects include:
- NRI-Flex: A powerful plugin that allows custom data collection by executing scripts (Bash, Python) or parsing log files, converting the output into New Relic metrics and events.
- On-Host Integrations: Direct monitoring for technologies like Docker, Kubernetes (via kube-state-metrics), AWS/Azure/GCP cloud services (using the cloud provider's metadata service).
- Dynamic Discovery: Some plugins can automatically discover and monitor new instances of a service as they come online.
On-Host Data Processing & Filtering
To optimize network usage and backend costs, the agent performs local data reduction before transmission. Capabilities include:
- Metric aggregation: Rolling up high-frequency samples into lower-resolution aggregates.
- Event filtering: Dropping or sampling low-priority events based on configurable rules.
- Attribute manipulation: Adding, removing, or renaming tags (key-value pairs) on metrics and events for better organization and cost control.
- Local buffering: Data is cached on disk during network outages, ensuring at-least-once delivery when connectivity is restored.
Secure & Reliable Data Pipeline
The agent is engineered for production environments with a focus on security and reliability.
- Secure Communication: All data is transmitted to New Relic's platform over TLS-encrypted HTTPS connections.
- License Key Management: The agent authenticates using a unique license key, which can be managed via environment variables or configuration files.
- Resource Isolation: Runs with constrained system privileges and includes configurable resource limits (CPU, memory) to prevent the agent from impacting host performance.
- Health Self-Monitoring: The agent reports its own health and performance metrics, allowing SREs to monitor the monitor.
Declarative Configuration & Automation
Agent behavior is controlled through a central, declarative YAML configuration file (newrelic-infra.yml). This enables infrastructure-as-code practices and automated deployment.
- Environment-Aware: Configuration can be templated and injected using environment variables for different deployment stages (dev, staging, prod).
- Orchestration-Friendly: Configuration management tools (Ansible, Chef, Puppet) or container orchestration platforms (Kubernetes ConfigMaps) can be used to manage and distribute agent configuration at scale.
- Dynamic Updates: Most configuration changes can be applied via a agent service restart without reinstalling the agent binary.
Deployment & Orchestration Patterns
The agent supports multiple deployment models to fit diverse infrastructure.
- Bare Metal & Virtual Machines: Installed as a native system package (RPM, DEB, MSI).
- Containerized Environments: Run as a sidecar container alongside application containers or deployed as a DaemonSet in Kubernetes to ensure one agent per cluster node.
- Immutable Infrastructure: The agent can be baked into machine images (AMI, Docker image) for consistent, version-controlled deployments.
- Orchestrated Scaling: In Kubernetes, the DaemonSet automatically deploys the agent to new nodes as the cluster scales.
Comparison with Other Telemetry Agents
This table compares the New Relic Infrastructure Agent against other popular telemetry collection agents across key architectural and operational dimensions relevant to enterprise observability pipelines.
| Feature / Metric | New Relic Infrastructure Agent | OpenTelemetry Collector | Datadog Agent | Grafana Agent |
|---|---|---|---|---|
Primary Data Model | Inventory, metrics, events (NR-specific) | Traces, metrics, logs (vendor-neutral OTLP) | Metrics, traces, logs (Datadog-specific) | Metrics, logs, traces (Prometheus/Loki/Tempo focus) |
Deployment Model | Host daemon, Kubernetes DaemonSet | Agent, Gateway, or Sidecar | Host daemon, container sidecar | Host daemon, Kubernetes DaemonSet |
Configuration Management | YAML files, UI, API | YAML files, environment variables | YAML files, UI, API | YAML files, Grafana Agent Operator |
Auto-Instrumentation Support | ||||
Built-in Metric Collection | System (CPU, memory, disk, network), 100+ integrations | Via receivers (Prometheus, hostmetrics) | System, 600+ integrations | System, Prometheus-style exporters |
Default Transport Protocol | New Relic protocol (HTTP/HTTPS) | OTLP/gRPC, OLP/HTTP | Datadog protocol (HTTP/HTTPS) | Prometheus remote_write, Loki push API, OTLP |
Client-Side Aggregation | ||||
Client-Side Sampling | Configurable for events & logs | Head/tail-based via processors | Configurable for traces & logs | Configurable for traces |
Local Buffering & Retry | In-memory & disk-based queue | In-memory & file-based queue | In-memory & disk-based queue | In-memory & Write-Ahead Log (WAL) |
Backpressure Handling | Queue-based, configurable limits | Queue-based, drop policies | Queue-based, configurable limits | WAL-based, configurable limits |
Native Kubernetes Discovery | ||||
eBPF-Based Tracing | Via OpenTelemetry eBPF receiver | |||
License Model | Proprietary (free tier available) | Apache 2.0 (Open Source) | Proprietary (free tier available) | Apache 2.0 (Open Source) |
Vendor Lock-in Risk | High (proprietary format, backend) | Low (open standard, multi-backend) | High (proprietary format, backend) | Medium (open formats, Grafana ecosystem) |
Frequently Asked Questions
Essential questions and answers about the New Relic Infrastructure Agent, a core component for collecting host and application telemetry for the New Relic observability platform.
The New Relic Infrastructure Agent is a lightweight daemon that collects inventory, metric, and event data from a host system and its applications, sending it to the New Relic observability platform. It operates by installing a single binary on a host (virtual machine, container, or bare metal) that runs as a background service. The agent automatically discovers running processes, network interfaces, and storage volumes, collecting key performance metrics like CPU, memory, disk I/O, and network utilization. It integrates with common application stacks (e.g., NGINX, PostgreSQL, Redis) via bundled integrations to collect service-specific metrics. The agent buffers and batches this telemetry data, then securely transmits it to New Relic's ingest endpoints using HTTPS, ensuring comprehensive observability without requiring manual instrumentation for basic infrastructure.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
The New Relic Infrastructure Agent operates within a broader ecosystem of data collection, processing, and observability. These related concepts define the components and patterns that enable comprehensive system monitoring.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us