Overview
This integration monitors merge queue length for each configured repository in
Mergify and tracks Mergify’s global availability. By sending metrics to your
Datadog account, you can set up monitors for anomaly alerts and analyze merge
queue performance. You can maintain awareness of Mergify service availability
and optimize your development workflow using this Datadog integration.
Setup
Installation
From release
Run datadog-agent integration install -t datadog-mergify==<INTEGRATION_VERSION>
.
From source
To install the Mergify check on your host:
Install the developer tool on any machine.
Run ddev release build mergify
to build the package.
Download the Datadog Agent.
Upload the build artifact to any host with an Agent and
run datadog-agent integration install -w path/to/mergify/dist/<ARTIFACT_NAME>.whl
.
Configuration
Edit the mergify.d/conf.yaml
file in the conf.d/
folder at the root of your Agent’s configuration directory to start collecting your Mergify metrics.
See the sample mergify.d/conf.yaml.example file for all available configuration options.
Restart the Agent.
Validation
Run the Agent’s status subcommand and look for mergify
under the Checks section.
Data Collected
Metrics
mergify.merge_queue_length (gauge) | Merge queue length |
mergify.time_to_merge.median (gauge) | Median time to merge Shown as second |
mergify.time_to_merge.mean (gauge) | Mean time to merge Shown as second |
mergify.queue_checks_outcome (gauge) | Number of outcomes for the queue operation. Each outcome type can be found in the tag 'outcome_type' |
Events
Mergify does not include any events.
Troubleshooting
Need help? Contact Mergify support.