Gist to support https://youtu.be/3XzVOxvNpGM
- https://plugins.jenkins.io/opentelemetry/
- https://github.com/open-telemetry/opentelemetry-collector/tree/main/examples/demo
git clone https://github.com/open-telemetry/opentelemetry-collector.git
cd opentelemetry-collector/examples/demo/
docker-compose up -d
pipeline {
agent any
stages {
stage('Build') {
steps {
git 'https://github.com/jglick/simple-maven-project-with-tests.git'
sh "mvn -Dmaven.test.failure.ignore=true clean package"
}
post {
success {
echo "success"
}
}
}
}
}
It was moved to the
contrib
git, over at open-telemetry/opentelemetry-collector-contrib (permanent link)For reference, the last proper version in the main repo was at commit
9fd1f5
, but were later removed/relocated because of open-telemetry/opentelemetry-collector#3888 and open-telemetry/opentelemetry-collector#3889.