newrelic-experimental / gitlab

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

GitLab Newrelic Integration #35

Closed AvihaiV closed 4 months ago

AvihaiV commented 4 months ago

Hi, I followed this guide to integrate GitLab and newrelic: https://newrelic.com/blog/how-to-relic/monitor-gitlab-with-opentelemetry

We are using GitLab runners in K8s, so I added this part to my Gitlab runner configuration:

[[runners.kubernetes.init_containers]]
        name = "newrelic-logger"
        image = "docker.io/dpacheconr/gitlab-metrics-exporter:1.0.11"
        command = [""]
        args = ["python3", "-u", "/app/main.py"]

I also created the needed yml file and variables, but I don't see any logs in Newrelic.

May I ask for your help?

Thank you!