New Relic Now+ New Relic’s most transformative platform update yet with 20+ product launches.
Watch the event on-demand now.

As modern applications continue to embrace distributed systems and real-time data processing, monitoring plays a crucial role in maintaining system health and performance. With tools like New Relic, organizations can leverage advanced monitoring capabilities for message queues, streaming data, and event-driven architectures. This post explores how New Relic can elevate your observability with its comprehensive suite, including insights into enabling Kafka node metrics for an integrated monitoring experience.

Introduction to New Relic's queues and streams

New Relic introduces robust solutions for monitoring message queues and streaming data, essential components for applications leveraging event-driven architectures. The landscape of message queues and data streaming signifies the flow of information across services, ensuring timely and reliable data exchange with its Organizational Overview landing summary.

Understanding the UI for queues and streams

New Relic's user interface (UI) simplifies the monitoring experience, allowing users to intuitively navigate various metrics and datasets. The UI guide provides insights into key UI components:

  • Data Visualization: Real-time dashboards present metrics from your message queues and streaming processes, offering a comprehensive overview of system health.
  • Alerting and Insights: Set up custom alerts to notify you of anomalous activities, empowering proactive management of your infrastructure.
  • Analytics: Utilize detailed analytics to troubleshoot issues and optimize stream processing for enhanced performance.

New Relic's platform for message queue and data streams monitoring

The New Relic platform offers extensive tools for monitoring message queues and data streams, helping organizations ensure the reliability and efficiency of their real-time applications. Learn more about the capabilities from New Relic's platform page:

  • Scalability and Flexibility: Support for various messaging and streaming technologies ensures that your monitoring solution adapts to evolving architectures.
  • Integration with New Relic One: Seamlessly incorporate queue and stream metrics into your overall observability strategy, boosting your data-driven decision-making process.
  • Enhanced Performance Tracking: Monitor throughput, latency, and error rates across your messaging and streaming channels to maintain optimal performance standards.

Enabling Kafka node metrics with New Relic

For organizations leveraging Kafka, understanding node metrics is vital for maintaining broker health and performance. New Relic's Java Agent allows you to instrument Kafka message queues, providing in-depth visibility into Kafka node metrics. Here’s how to enable this feature based on guidelines from New Relic documentation.

Once enabled, the ability to flow from the Queues and Streams capability into the Kafka for APM experience is as simple as selecting the topic entity that needs to be investigated. 

Once selected, it will flow directly into the APM for Kafka experience to dive into the Kafka node metrics. 

Steps to enable Kafka node metrics:

  1. Install the Java Agent:
    • Ensure that the New Relic Java Agent is installed on your Kafka brokers. This agent collects key metrics and integrates them into New Relic’s monitoring platform.
  2. Configure the Agent for Kafka Monitoring:
    • Modify your newrelic.yml configuration to include Kafka instrumentation. Customize settings such as transaction naming and error tracking to suit your monitoring goals.
  3. Enable Node Metrics in Configuration:
    • Edit the Kafka configuration to output metrics in a format compatible with New Relic’s agent. The configuration involves setting up JMX monitoring and ensuring the correct Java options.
  4. Verify Metrics Collection:
    • Validate that Kafka metrics are accurately reported in New Relic dashboards. Metrics should include broker health, partition performance, and consumer lag metrics.
  5. Utilize Metrics for Optimization:
    • Analyze the collected Kafka node metrics within New Relic's UI to troubleshoot issues, optimize cluster configuration, and ensure efficient resource utilization.