diff --git a/build/azure-devops/templates/agents/run-opentelemetry-collector.yml b/build/azure-devops/templates/agents/run-opentelemetry-collector.yml index d418fa493..c4a5cc23c 100644 --- a/build/azure-devops/templates/agents/run-opentelemetry-collector.yml +++ b/build/azure-devops/templates/agents/run-opentelemetry-collector.yml @@ -34,7 +34,7 @@ steps: displayName: 'Show OpenTelemetry configuration' - script: | echo Mounting volumes: ${{ parameters.volumes }} - docker run -d -p 8888:8888 -p 8889:8889 --name ${{ parameters.containerName }} $(networkArgument) --volume ${{ parameters.volumes }} otel/opentelemetry-collector --config /etc/otel-collector-config.yaml + docker run -d -p 8888:8888 -p 8889:8889 --name ${{ parameters.containerName }} $(networkArgument) --volume ${{ parameters.volumes }} otel/opentelemetry-collector:0.103.0 --config /etc/otel-collector-config.yaml sleep 10 docker logs ${{ parameters.containerName }} displayName: Run OpenTelemetry Collector as ${{ parameters.containerName }} container