Coralogix supports integration with GitLab
webhooks, use webhooks to inform Coralogix when a new build is issued.
First, log in to GitLab using your Credentials, and navigate to your project page.
Go to Settings -> Integrations
Add the following URL:
https://ng-api-http.CLUSTER/api/v1/external/gitlab?application=APPLICATION_NAME&subsystem=SUBSYSTEM_NAME&name=TAG_NAME
where
CLUSTER – depends on the team’s region. Choose from the list below:
Region | Cluster |
---|---|
Europe (.com) | coralogix.com |
US (.us) | coralogix.us |
India (.in) | app.coralogix.in |
Sweden (.eu2.) | eu2.coralogix.com |
Singapore (sg.com) | coralogixsg.com |
APPLICATION_NAME – the application name (mandatory)
SUBSYSTEM_NAME – the subsystem name (mandatory). You can add more than 1 subsystem name separated by a comma.
TAG_NAME – the tag name (if it is not set then values are taken from GitLab payload fields: project.name and object_attributes.ref – see GitLab documentation for more details)
Add the Secret token which is the API key from Coralogix –> Data Flow –> API Keys –> Alerts, Rules and Tags API Key
Next, select Pipeline events, and save: