> For the complete documentation index, see [llms.txt](https://docs.hostedgraphite.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostedgraphite.com/add-ons-and-integrations-guide/gitlab.md).

# GitLab

Use a webhook to import real-time events from your GitLab repositories and deployments

Use our webhook in your GitLab environment to report events from your repositories and deployments. These [GitLab events](https://docs.gitlab.com/ee/user/project/integrations/webhook_events.html) are sent to Hosted Graphite in real-time and can be displayed on your graphs in the form of annotations.

First, copy the webhook URL from within the Hosted Graphite Add-Ons UI, and paste into your GitLab account (Settings => Webhooks):

<figure><img src="https://495119770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZtHmoGZNsmARIViZEdbz%2Fuploads%2FntNKPrNgbDdec88LWhgX%2Fgitlab-integration.png?alt=media&amp;token=118563bc-fffe-4daa-bac4-0f11c2b855f9" alt=""><figcaption><p>GitLab Webhook URL</p></figcaption></figure>

Then you can configure a new [annotation](https://docs.hostedgraphite.com/api-guides/annotations-and-events-api#dashboard-annotations) in your dashboard, using the Event Tags for each type of event you want to display:

<figure><img src="https://495119770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZtHmoGZNsmARIViZEdbz%2Fuploads%2FDIwHjldngPdxmyKacIwb%2Fgitlab-annotation-config.png?alt=media&amp;token=e00ee08d-b2dc-4b61-9883-67620114ca56" alt=""><figcaption><p>GitLab Annotation Configuration</p></figcaption></figure>

You will now receive dashboard annotations for each type of event configured, such as a push event. These markers are useful because you can see if any of your metric data has changed before or after an event within your codebase.
