agardnerIT / tracepusher

Generate and push OpenTelemetry Trace data to an OTEL collector in JSON format
Apache License 2.0
54 stars 11 forks source link

Emphasize on using the CI tagged image in GitLab example #35

Closed dnsmichi closed 1 year ago

dnsmichi commented 1 year ago

I did not recognize in my first tests that a specific CI tagged image needs to be used, and went with manually editing my configuration with the default image.

This led to some debugging because launching the container image in CI/CD always executed the script as entrypoint. I first suspected the after_script default config because this also invokes the script.

This PR

  1. Adds a comment that emphasizes on the CI tagged image
  2. Bumps the image tag to the latest 0.7.0-ci tag
  3. Adds a variable for debugging CI/CD jobs (CI_DEBUG_TRACE) which is disabled by default.

Tests and learning steps in https://gitlab.com/gitlab-de/use-cases/observability/devsecops-efficiency/slow-pipeline-for-analysis/-/merge_requests/1