Gitea integration for Grafana Cloud
Gitea is an open-source forge software package for hosting software development version control using Git as well as other collaborative features like bug tracking, wikis and code review. This integration provides the dashboard with metrics exposed by Gitea, including application’s key stats as well as CPU, memory, file descriptors utilization.
Pre-install configuration for the Gitea integration
In order for the integration to work, on Gitea instance you need to configure metrics section to enable /metrics endpoint:
In order to see issues stats grouped by repositores and labels, Gitea 1.16.0 or above is required with the following flags set:
[metrics] ENABLED=true ENABLED_ISSUE_BY_REPOSITORY=true ENABLED_ISSUE_BY_LABEL=true
Post-install configuration for the Gitea integration
In the configuration file, the Grafana agent must be pointed to a server, such as
gitea:3000 in the example below, that exposes a
metrics: wal_directory: /tmp/wal configs: - name: integrations scrape_configs: - job_name: integrations/gitea static_configs: - targets: ['gitea:3000'] remote_write: - url: http://cortex:9009/api/prom/push
Related Grafana Cloud resources
How to set up and visualize synthetic monitoring at scale with Grafana Cloud
Learn how to use Kubernetes, Grafana Loki, and Grafana Cloud’s synthetic monitoring feature to set up your infrastructure's checks in this GrafanaCONline session.
Using Grafana Cloud to drive manufacturing plant efficiency
This GrafanaCONline session tells how Grafana helps a 75-year-old manufacturing company with product quality and equipment maintenance.