• /
  • EnglishEspañol日本語한국어Português
  • Inicia sesiónComenzar ahora

Apache Mesos integration

Monitor Apache Mesos clusters seamlessly with New Relic for comprehensive insights into performance, health, and resource utilization. Track master and slave nodes, monitor task execution, and review system metrics.

Apache Mesos dashboard

After setting up our Apache Mesos integration, we give you a dashboard for your Apache Mesos metrics.

Install the infrastructure agent

To use the Apache Mesos integration, you need to also install the infrastructure agent on the same host. The infrastructure agent monitors the host itself, while the integration you'll install in the next step extends your monitoring with Apache Mesos-specific data.

Enable the Apache Mesos integration with nri-flex

To set up the Apache Mesos integration, follow these steps:

  1. Create a file named nri-apache-mesos-config.yml in the integrations directory:

    bash
    $
    touch /etc/newrelic-infra/integrations.d/nri-apache-mesos-config.yml
  2. Add the following snippet to your nri-apache-mesos-config.yml file to enable the agent to capture Apache Mesos data:

    integrations:
    - name: nri-flex
    interval: 30s
    config:
    name: apacheMesos
    apis:
    - event_type: apacheMesos
    url: http://<ip-address>:5050/metrics/snapshot

Forward Apache Mesos logs

Follow these steps to forward Apache Mesos logs to New Relic:

  1. Edit the log file named logging.yml located at the following path:

    bash
    $
    cd /etc/newrelic-infra/logging.d
  2. Add the following snippet to the logging.yml file. Replace file with your Apache Mesos log filepath if needed:

    logs:
    - name: apache-mesos.log
    file: /var/log/mesos/LOG_FILE_NAME
    attributes:
    logtype: apache_mesos_log

Find your data

You can use our pre-built dashboard template to monitor your Apache Mesos application metrics. Follow these steps to use our pre-built dashboard template:

  1. From one.newrelic.com, go to the + Integrations & Agents page

  2. Click on Dashboards

  3. In the search bar, type Apache Mesos

  4. The Apache Mesos dashboard should appear. Click on it to install it

    Your Apache Mesos dashboard is considered a custom dashboard and can be found in the Dashboards UI. For docs on using and editing dashboards, see our dashboard docs.

    Here is an example NRQL query to view the Apache Mesos master uptime:

    SELECT latest(`master/uptime_secs`) as 'Masters uptime (seconds)' FROM apacheMesos

What's next?

To learn more about building NRQL queries and generating dashboards, check out these docs:

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.