[Live Webinar] Next-Level O11y: Why Every DevOps Team Needs a RUM Strategy Register today!

Back to All Docs

Spinnaker Version Tags Spinnaker Version Tags

Last Updated: Apr. 11, 2024

Coralogix provides seamless integration with Spinnaker deployment pipelines so you can push tags to Coralogix automatically from your pipelines.

Prerequisites

  • Have Spinnaker deployed, for more information on how to deploy: https://spinnaker.io/setup/
  • API Token – should be taken from Data Flow --> API Keys --> Alerts, Rules and Tags API Key
Coralogix Alerts API key

Configuration

To create a custom webhook stage, you’ll need to add configuration for the stage in orca-local.yml.

Refer to the following table to select the correct url for your Coralogix domain.

DomainVersion Tags endpoint
.comhttps://webapi.coralogix.com/api/v1/external/tags/
.ushttps://webapi.coralogix.us/api/v1/external/tags/
.inhttps://webapi.app.coralogix.in/api/v1/external/tags/
.app.coralogixsg.comhttps://webapi.coralogixsg.com/api/v1/external/tags/
eu2.coralogix.comhttps://webapi.eu2.coralogix.com/api/v1/external/tags/
cx498.coralogix.comhttps://webapi.cx498.coralogix.com/api/v1/external/tags/

Here is the content of orca-local.yml:

webhook:
  preconfigured:
    - label: Coralogix Tag
      type: coralogixTag
      enabled: true
      description: Push tag to Coralogix
      parameters:
        - label: Coralogix API URL
          name: url
          type: string
          description: Coralogix API endpoint
          defaultValue: coralogix.com
        - label: Coralogix API Token
          name: token
          type: string
          description: Coralogix API Token
        - label: Tag
          name: tag
          type: string
          description: Tag Name
        - label: Application
          name: application
          type: string
          description: Application Name
        - label: Subsystem
          name: subsystem
          type: string
          description: Subsystem Name
      url: https://webapi.${parameterValues['url']}/api/v1/external/tags
      method: POST
      customHeaders:
      Authorization:
        - Bearer ${parameterValues['token']}
      Content-Type:
        - application/json
      payload: |-
        {
            "name": "${parameterValues['tag']}",
            "application": ["${parameterValues['application']}"],
            "subsystem": ["${parameterValues['subsystem']}"],
            "iconUrl": "https://raw.githubusercontent.com/coralogix/integrations-docs/master/integrations/spinnaker/images/spinnaker.png"
        }

After you create a custom configuration, redeploy your Spinnaker instance with Halyard:

$ hal deploy apply

Usage

Add a new stage to push the tag to Coralogix:

New Stage

Configure stage to push tag to your account:

Stage Configuration

Note: You can use Spinnaker pipeline expressions to define parameters for the tag.

Support

Need help?

Our world-class customer success team is available 24/7 to walk you through your setup and answer any questions that may come up.

Feel free to reach out to us via our in-app chat or by sending us an email to [email protected].

On this page

Live Webinar
Next-Level O11y: Why Every DevOps Team Needs a RUM Strategy
April 30th at 12pm ET | 6pm CET
Save my Seat