Skip to content

Latest commit

 

History

History
 
 

gearmand

Gearman Integration

Overview

Collect Gearman metrics to:

  • Visualize Gearman performance.
  • Know how many tasks are queued or running.
  • Correlate Gearman performance with the rest of your applications.

Setup

Installation

The Gearman check is included in the Datadog Agent package, so you don't need to install anything else on your Gearman job servers.

Configuration

Host

To configure this check for an Agent running on a host:

  1. Edit the gearmand.d/conf.yaml file, in the conf.d/ folder at the root of your Agent's configuration directory to start collecting your Gearman performance data. See the sample gearmand.d/conf.yaml for all available configuration options.

    init_config:
    
    instances:
      - server: localhost
        port: 4730
  2. Restart the Agent

Containerized

For containerized environments, see the Autodiscovery Integration Templates for guidance on applying the parameters below.

Parameter Value
<INTEGRATION_NAME> gearmand
<INIT_CONFIG> blank or {}
<INSTANCE_CONFIG> {"server":"%%host%%", "port":"4730"}

Log collection

  1. Collecting logs is disabled by default in the Datadog Agent, enable it in your datadog.yaml file:

    logs_enabled: true
  2. Add this configuration block to your gearmand.d/conf.yaml file to start collecting your Gearman logs:

    logs:
      - type: file
        path: /var/log/gearmand.log
        source: gearman

    Change the path parameter value based on your environment. See the sample gearmand.d/conf.yaml for all available configuration options.

  3. Restart the Agent.

See Kubernetes Log Collection for information on configuring the Agent for log collection in Kubernetes environments.

Validation

Run the Agent's status subcommand and look for gearmand under the Checks section.

Data Collected

Metrics

See metadata.csv for a list of metrics provided by this integration.

Events

The Gearman check does not include any events.

Service Checks

See service_checks.json for a list of service checks provided by this integration.

Troubleshooting

Need help? Contact Datadog support.