newrelic/deployment-marker-action

could not initialize New Relic client

Open

#42 opened on May 9, 2023

 (3 comments) (0 reactions) (0 assignees)Shell (22 forks)auto 404
good first issue

Repository metrics

Stars
 (75 stars)
PR merge metrics
 (PR metrics pending)

Description

We are getting the following when trying to create a marker for our app in GitHub Actions:

level=fatal msg="could not initialize New Relic client, make sure your profile is configured with newrelic profile configure"

This is the step configuration we have:

    - name: Create New Relic OTEL Application Deployment Marker
      if: ${{ steps.guid_otel.outputs.guid != '' }}
      uses: newrelic/deployment-marker-action@v2.3.0
      with:
        apiKey: ${{ secrets.api_key }}
        region: "EU"
        guid: ${{ steps.guid_otel.outputs.guid }}
        version: ${{ steps.version.outputs.version }}
        deeplink: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
        user: "${{ github.actor }}"

We've had markers working some time before, so I don't know what has happened.

Contributor guide