Skip to content

Latest commit

 

History

History
 
 

gitea

Gitea Integration

Overview

Gitea is a community managed lightweight code hosting solution written in Go.

This integration monitors Gitea instances through the Datadog Agent.

Setup

Prerequisite

Gitea doesn't expose its internal metrics by default. You need to enable the built-in HTTP server that exposes the metrics endpoint in your app.ini configuration file.

[metrics]
ENABLED = true

See the official documentation for more information.

Installation

The Gitea integration is not included in the Datadog Agent package by default, it must be installed.

For Agent v7.36+, follow the instructions below to install the Gitea check on your host. See Use Community Integrations to install with the Docker Agent or earlier versions of the Agent.

  1. Run the following command to install the Agent integration:
datadog-agent integration install -t datadog-gitea==<INTEGRATION_VERSION>
  1. Configure your integration similar to Agent-based integrations.

Configuration

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

  2. Restart the Agent.

Validation

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

Data Collected

Metrics

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

Events

The Gitea 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.