This is an automated email from the ASF dual-hosted git repository.
ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-testing.git
The following commit(s) were added to refs/heads/main by this push:
new 58a7d5c Upgrade OpenTelemetry Java Agent (#307)
58a7d5c is described below
commit 58a7d5cc4d05641b9939023bb1201d357e7648a1
Author: Dave Marion <[email protected]>
AuthorDate: Tue Jun 30 21:05:48 2026 -0400
Upgrade OpenTelemetry Java Agent (#307)
---
contrib/terraform-testing-infrastructure/README.md | 2 +-
.../modules/config-files/templates/hadoop_bashrc.tftpl | 2 +-
.../modules/config-files/templates/install_sw.sh.tftpl | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/contrib/terraform-testing-infrastructure/README.md
b/contrib/terraform-testing-infrastructure/README.md
index 4494c69..72e1b55 100644
--- a/contrib/terraform-testing-infrastructure/README.md
+++ b/contrib/terraform-testing-infrastructure/README.md
@@ -330,7 +330,7 @@ This Terraform configuration:
and builds the software using Maven, then untars the binary tarball to
`${software_root}/accumulo/accumulo-${accumulo_version}`
5. Downloads the [OpenTelemetry](https://opentelemetry.io/) Java Agent jar
file and copies it to
-
`${software_root}/accumulo/accumulo-${accumulo_version}/lib/opentelemetry-javaagent-1.32.0.jar`
+
`${software_root}/accumulo/accumulo-${accumulo_version}/lib/opentelemetry-javaagent-2.26.1.jar`
6. Copies the Accumulo `test` jar to
`${software_root}/accumulo/accumulo-${accumulo_version}/lib`
so that `org.apache.accumulo.test.metrics.TestStatsDRegistryFactory` is
on the classpath
7. Downloads the [Micrometer](https://micrometer.io/) StatsD Registry jar
file and copies it to
diff --git
a/contrib/terraform-testing-infrastructure/modules/config-files/templates/hadoop_bashrc.tftpl
b/contrib/terraform-testing-infrastructure/modules/config-files/templates/hadoop_bashrc.tftpl
index efe1674..d07b2e6 100644
---
a/contrib/terraform-testing-infrastructure/modules/config-files/templates/hadoop_bashrc.tftpl
+++
b/contrib/terraform-testing-infrastructure/modules/config-files/templates/hadoop_bashrc.tftpl
@@ -10,7 +10,7 @@ export ACCUMULO_LOG_DIR=${accumulo_dir}/logs
export M2_HOME=${software_root}/apache-maven/apache-maven-${maven_version}
export PDSH_RCMD_TYPE=ssh
-export
ACCUMULO_JAVA_OPTS="-javaagent:${software_root}/accumulo/accumulo-${accumulo_version}/lib/opentelemetry-javaagent-2.14.0.jar
-Dotel.traces.exporter=otlp -Dotel.metrics.exporter=none
-Dotel.logs.exporter=none
-Dotel.exporter.otlp.endpoint=http://${manager_ip}:4317
-Dotel.exporter.otlp.protocol=grpc -Dtest.meter.registry.host=${manager_ip}
-Dtest.meter.registry.port=8125"
+export
ACCUMULO_JAVA_OPTS="-javaagent:${software_root}/accumulo/accumulo-${accumulo_version}/lib/opentelemetry-javaagent-2.26.1.jar
-Dotel.traces.exporter=otlp -Dotel.metrics.exporter=none
-Dotel.logs.exporter=none
-Dotel.exporter.otlp.endpoint=http://${manager_ip}:4317
-Dotel.exporter.otlp.protocol=grpc -Dtest.meter.registry.host=${manager_ip}
-Dtest.meter.registry.port=8125"
# User specific environment and startup programs
PATH=$PATH:$HOME/.local/bin:$HOME/bin:$ZOOKEEPER_HOME/bin:$HADOOP_HOME/bin:$HADOOP_HOME/sbin:$ACCUMULO_HOME/bin:$M2_HOME/bin
diff --git
a/contrib/terraform-testing-infrastructure/modules/config-files/templates/install_sw.sh.tftpl
b/contrib/terraform-testing-infrastructure/modules/config-files/templates/install_sw.sh.tftpl
index a91137a..bff423d 100644
---
a/contrib/terraform-testing-infrastructure/modules/config-files/templates/install_sw.sh.tftpl
+++
b/contrib/terraform-testing-infrastructure/modules/config-files/templates/install_sw.sh.tftpl
@@ -124,8 +124,8 @@ openssl rand -out
${software_root}/accumulo/accumulo-${accumulo_version}/conf/pe
#
# OpenTelemetry dependencies
#
-if [ ! -f
${software_root}/accumulo/accumulo-${accumulo_version}/lib/opentelemetry-javaagent-2.14.0.jar
]; then
- wget
https://search.maven.org/remotecontent?filepath=io/opentelemetry/javaagent/opentelemetry-javaagent/2.14.0/opentelemetry-javaagent-2.14.0.jar
-O
${software_root}/accumulo/accumulo-${accumulo_version}/lib/opentelemetry-javaagent-2.14.0.jar
+if [ ! -f
${software_root}/accumulo/accumulo-${accumulo_version}/lib/opentelemetry-javaagent-2.26.1.jar
]; then
+ wget
https://search.maven.org/remotecontent?filepath=io/opentelemetry/javaagent/opentelemetry-javaagent/2.26.1/opentelemetry-javaagent-2.26.1.jar
-O
${software_root}/accumulo/accumulo-${accumulo_version}/lib/opentelemetry-javaagent-2.26.1.jar
fi
#
# Micrometer dependencies