From 3ebced0d8c2c0b41b382112668ac8a4670b1fff0 Mon Sep 17 00:00:00 2001 From: Shashank Patidar Date: Tue, 26 Sep 2023 03:53:45 +0530 Subject: [PATCH] add ht to instrumentation names in tests --- .../hypertrace/java/ContextAccessorInstrumentationModule.java | 2 +- .../ServletInputStreamContextAccessInstrumentationModule.java | 2 +- .../ServletOutputStreamContextAccessInstrumentationModule.java | 2 +- .../BufferedReaderContextAccessInstrumentationModule.java | 2 +- .../writer/PrintWriterContextAccessInstrumentationModule.java | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/instrumentation/java-streams/src/test/java/io/opentelemetry/javaagent/instrumentation/hypertrace/java/ContextAccessorInstrumentationModule.java b/instrumentation/java-streams/src/test/java/io/opentelemetry/javaagent/instrumentation/hypertrace/java/ContextAccessorInstrumentationModule.java index 6271c3cd..00f4570b 100644 --- a/instrumentation/java-streams/src/test/java/io/opentelemetry/javaagent/instrumentation/hypertrace/java/ContextAccessorInstrumentationModule.java +++ b/instrumentation/java-streams/src/test/java/io/opentelemetry/javaagent/instrumentation/hypertrace/java/ContextAccessorInstrumentationModule.java @@ -60,7 +60,7 @@ public List getMuzzleHelperClassNames() { } public ContextAccessorInstrumentationModule() { - super("test-context-accessor"); + super("test-context-accessor", "ht"); } @Override diff --git a/instrumentation/servlet/servlet-3.0/src/test/java/io/opentelemetry/javaagent/instrumentation/hypertrace/servlet/v3_0/nowrapping/request/ServletInputStreamContextAccessInstrumentationModule.java b/instrumentation/servlet/servlet-3.0/src/test/java/io/opentelemetry/javaagent/instrumentation/hypertrace/servlet/v3_0/nowrapping/request/ServletInputStreamContextAccessInstrumentationModule.java index 7ce37e03..8caab5cc 100644 --- a/instrumentation/servlet/servlet-3.0/src/test/java/io/opentelemetry/javaagent/instrumentation/hypertrace/servlet/v3_0/nowrapping/request/ServletInputStreamContextAccessInstrumentationModule.java +++ b/instrumentation/servlet/servlet-3.0/src/test/java/io/opentelemetry/javaagent/instrumentation/hypertrace/servlet/v3_0/nowrapping/request/ServletInputStreamContextAccessInstrumentationModule.java @@ -41,7 +41,7 @@ public class ServletInputStreamContextAccessInstrumentationModule extends Instru implements InstrumentationModuleMuzzle { public ServletInputStreamContextAccessInstrumentationModule() { - super("test-servlet-input-stream"); + super("test-servlet-input-stream", "ht"); } @Override diff --git a/instrumentation/servlet/servlet-3.0/src/test/java/io/opentelemetry/javaagent/instrumentation/hypertrace/servlet/v3_0/nowrapping/response/ServletOutputStreamContextAccessInstrumentationModule.java b/instrumentation/servlet/servlet-3.0/src/test/java/io/opentelemetry/javaagent/instrumentation/hypertrace/servlet/v3_0/nowrapping/response/ServletOutputStreamContextAccessInstrumentationModule.java index dbcaaa03..0263a10c 100644 --- a/instrumentation/servlet/servlet-3.0/src/test/java/io/opentelemetry/javaagent/instrumentation/hypertrace/servlet/v3_0/nowrapping/response/ServletOutputStreamContextAccessInstrumentationModule.java +++ b/instrumentation/servlet/servlet-3.0/src/test/java/io/opentelemetry/javaagent/instrumentation/hypertrace/servlet/v3_0/nowrapping/response/ServletOutputStreamContextAccessInstrumentationModule.java @@ -40,7 +40,7 @@ public class ServletOutputStreamContextAccessInstrumentationModule extends Instr implements InstrumentationModuleMuzzle { public ServletOutputStreamContextAccessInstrumentationModule() { - super("test-servlet-output-stream"); + super("test-servlet-output-stream", "ht"); } @Override diff --git a/instrumentation/servlet/servlet-rw/src/test/java/io/opentelemetry/javaagent/instrumentation/hypertrace/servlet/rw/reader/BufferedReaderContextAccessInstrumentationModule.java b/instrumentation/servlet/servlet-rw/src/test/java/io/opentelemetry/javaagent/instrumentation/hypertrace/servlet/rw/reader/BufferedReaderContextAccessInstrumentationModule.java index 53e7fa8b..08fe4cff 100644 --- a/instrumentation/servlet/servlet-rw/src/test/java/io/opentelemetry/javaagent/instrumentation/hypertrace/servlet/rw/reader/BufferedReaderContextAccessInstrumentationModule.java +++ b/instrumentation/servlet/servlet-rw/src/test/java/io/opentelemetry/javaagent/instrumentation/hypertrace/servlet/rw/reader/BufferedReaderContextAccessInstrumentationModule.java @@ -39,7 +39,7 @@ public class BufferedReaderContextAccessInstrumentationModule extends Instrument implements InstrumentationModuleMuzzle { public BufferedReaderContextAccessInstrumentationModule() { - super("test-buffered-reader"); + super("test-buffered-reader", "ht"); } @Override diff --git a/instrumentation/servlet/servlet-rw/src/test/java/io/opentelemetry/javaagent/instrumentation/hypertrace/servlet/rw/writer/PrintWriterContextAccessInstrumentationModule.java b/instrumentation/servlet/servlet-rw/src/test/java/io/opentelemetry/javaagent/instrumentation/hypertrace/servlet/rw/writer/PrintWriterContextAccessInstrumentationModule.java index efa418b9..da44d102 100644 --- a/instrumentation/servlet/servlet-rw/src/test/java/io/opentelemetry/javaagent/instrumentation/hypertrace/servlet/rw/writer/PrintWriterContextAccessInstrumentationModule.java +++ b/instrumentation/servlet/servlet-rw/src/test/java/io/opentelemetry/javaagent/instrumentation/hypertrace/servlet/rw/writer/PrintWriterContextAccessInstrumentationModule.java @@ -41,7 +41,7 @@ public class PrintWriterContextAccessInstrumentationModule extends Instrumentati implements InstrumentationModuleMuzzle { public PrintWriterContextAccessInstrumentationModule() { - super("test-print-writer"); + super("test-print-writer", "ht"); } @Override