Stackstate-Marathon Integration

Overview

Connects Marathon to Stackstate in order to:

  • Visualize your Marathon framework’s performance
  • Correlate the performance of Marathon with the rest of your Mesos applications

For more details about configuring this integration refer to the following file(s) on GitHub:

Configuration

  1. Configure the Agent to connect to Marathon. Edit conf.d/marathon.yaml:

    init_config:
    default_timeout: 5
    instances:
    # url: the API endpoint of your Marathon master
    - url: https://server:port
    
  2. Restart the Agent

Validation

  1. Execute the info command and verify that the integration check has passed. The output of the command should contain a section similar to the following:

    Checks
    ======
    
    [...]
    
    marathon
    --------
        - instance #0 [OK]
        - Collected 8 metrics & 0 events
    

Metrics

marathon.apps
(gauge)
Number of defined apps
marathon.backoffFactor
(gauge)
Backoff time multiplication factor for each consecutive failed task launch
marathon.backoffSeconds
(gauge)
Task backoff period
shown as second
marathon.cpus
(gauge)
Number of CPU's this application needs per instance
marathon.disk
(gauge)
Disk that is needed for the application
shown as mebibyte
marathon.instances
(gauge)
Number of instances of this application to start
marathon.mem
(gauge)
Memory that is needed for the application per instance
shown as mebibyte
marathon.tasksRunning
(gauge)
Number of tasks running
shown as task
marathon.tasksStaged
(gauge)
Number of tasks staged to run
shown as task