diff --git a/docker/otelcol-config.yaml b/docker/otelcol-config.yaml index 4501021..35aabc8 100644 --- a/docker/otelcol-config.yaml +++ b/docker/otelcol-config.yaml @@ -2,7 +2,9 @@ receivers: otlp: protocols: grpc: + endpoint: 0.0.0.0:4317 http: + endpoint: 0.0.0.0:4318 prometheus/collector: config: scrape_configs: diff --git a/examples/java/run.sh b/examples/java/run.sh index b398431..a3d5f33 100755 --- a/examples/java/run.sh +++ b/examples/java/run.sh @@ -5,7 +5,7 @@ set -euo pipefail if [[ ! -f ./target/rolldice.jar ]] ; then ./mvnw clean package fi -version=v2.1.0 +version=v2.6.0 jar=opentelemetry-javaagent-${version}.jar if [[ ! -f ./${jar} ]] ; then curl -sL https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/${version}/opentelemetry-javaagent.jar -o ${jar}