Watchlog DocsWatchlog Docs
Home
Get Started
Gen AI Monitoring
Integrations
Log Watchlist
Home
Get Started
Gen AI Monitoring
Integrations
Log Watchlist
  • All Integrations
  • NGINX

    • Nginx Integration
    • Connect NGINX to Watchlog
    • Docker
    • Windows
    • Kubernetes
    • Source Code
  • IIS

    • IIS Integration
    • Ubuntu
    • Docker Container
    • Windows
    • Kubernetes
    • Source Code
  • REDIS

    • Redis Integration
    • Ubuntu
    • Docker Container
    • Windows
    • Kubernetes
    • Source Code
  • POSTGRESQL

    • PostgreSQL Integration
    • Ubuntu
    • Docker Container
    • Windows
    • Kubernetes
    • Source Code
  • MONGODB

    • MongoDB Integration
    • Ubuntu
    • Docker Container
    • Windows
    • Kubernetes
    • Source Code
  • MYSQL

    • MySQL Integration
    • Ubuntu
    • Docker Container
    • Windows
    • Kubernetes
    • Source Code
  • PM2

    • PM2 Integration
    • Ubuntu
    • Docker Container
    • Windows
    • Kubernetes
    • Source Code
  • DOCKER

    • Docker Integration
    • Ubuntu
    • Docker Container
    • Windows
    • Kubernetes
    • Source Code
  • GITLAB

    • Gitlab Integration
    • Ubuntu
    • Docker
    • Windows
    • Kubernetes
    • Source

Source

This guide explains how to connect Gitlab to Watchlog so you can monitor metrics such as Pipelines, Jobs, and Runners.

Prerequisite: Watchlog Agent installed

Make sure the Watchlog Agent is already installed on your server. If it is not installed yet, follow the installation guide first and then return to this page.


Step 1 – Update Watchlog Agent integration config

Tell the Watchlog Agent to monitor Gitlab by updating the integration.json file.

Source

Go to /watchlog-agent, open the integration.json file and update your configuration:

cd /opt/watchlog-agent
vim integration.json
# (Make your changes and save)

Add or update the Gitlab section as follows:

{
  "service": "gitlab",
  "monitor": true,
  "baseUrl": "https://gitlab.com",
  "token": "",
  "projects": [],
  "monitorLogs": true,
  "metrics": {"pipelines": true, "jobs": true, "runners": true, "mrs": true, "deployments": true}
}

Note: All integration configurations are stored in this file.


Step 2 – Reload the Watchlog Agent

After saving integration.json, reload the Watchlog Agent with PM2:

pm2 reload watchlog-agent

Step 3 – Verify the integration in Watchlog

  1. Log in to the Watchlog dashboard.
  2. Go to the Gitlab integration section.
Last Updated:: 11/13/25, 10:36 PM
Contributors: mohammad
Prev
Kubernetes