# GitLab

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="/files/AUOpuR9HJPkmwlJx5hAr" 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="/files/PKo427ZNf1lKqAahPhZf" 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hostedgraphite.com/add-ons-and-integrations-guide/gitlab.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
