newrelic-experimental / gitlab

Gitlab exporters to send metrics,logs,traces to New Relic
9 stars 6 forks source link

Kubernetes executor #21

Closed stenreijers closed 1 year ago

stenreijers commented 1 year ago

We are using only kubernetes executors since we are running the gitlab-runner using helm in a dedicated kubernetes cluster.

For some reason, the job to export all gitlab metrics just succeeds without any intel in the job log:

image

Is the kubernetes runner not supported or can we do something else to get more intel why there is no data transmitted to new relic?

georgiaks commented 1 year ago

Have you tried overriding the entrypoint manually? We had a similar issue and found the below fixed it:

image:
    name: docker.io/dpacheconr/gitlab-metrics-exporter:1.0.6
    entrypoint: [""]
  script:
    - python3 -u /app/main.py
    - echo "Done"
stenreijers commented 1 year ago

That indeed fixed the issue, thanks.