Skip to content

Spinnaker Version Tags

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.

Select the endpoint associated with your Coralogix domain.

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://ng-api-http.<span class="domain-value"></span>/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].