File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
smoke-tests/src/main/java/io/opentelemetry/smoketest
testing-common/src/main/java/io/opentelemetry/instrumentation/testing Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1111import io .opentelemetry .sdk .logs .data .LogRecordData ;
1212import io .opentelemetry .sdk .metrics .data .MetricData ;
1313import io .opentelemetry .sdk .trace .data .SpanData ;
14+ import java .io .File ;
1415import java .io .IOException ;
1516import java .util .List ;
1617
@@ -44,7 +45,7 @@ public void afterTestClass() throws IOException {
4445 // Generates files in a `.telemetry` directory within the instrumentation module with all
4546 // captured emitted metadata to be used by the instrumentation-docs Doc generator.
4647 if (Boolean .getBoolean ("collectMetadata" )) {
47- String path = new java . io . File ("" ).getAbsolutePath ();
48+ String path = new File ("" ).getAbsolutePath ();
4849
4950 MetaDataCollector .writeTelemetryToFiles (path , metricsByScope , tracesByScope );
5051 }
Original file line number Diff line number Diff line change 1616import io .opentelemetry .sdk .logs .data .LogRecordData ;
1717import io .opentelemetry .sdk .metrics .data .MetricData ;
1818import io .opentelemetry .sdk .trace .data .SpanData ;
19+ import java .io .File ;
1920import java .io .IOException ;
2021import java .util .List ;
2122import org .slf4j .LoggerFactory ;
@@ -65,7 +66,7 @@ public void afterTestClass() throws IOException {
6566 // Generates files in a `.telemetry` directory within the instrumentation module with all
6667 // captured emitted metadata to be used by the instrumentation-docs Doc generator.
6768 if (Boolean .getBoolean ("collectMetadata" )) {
68- String path = new java . io . File ("" ).getAbsolutePath ();
69+ String path = new File ("" ).getAbsolutePath ();
6970
7071 MetaDataCollector .writeTelemetryToFiles (path , metricsByScope , tracesByScope );
7172 }
Original file line number Diff line number Diff line change 4444import io .opentelemetry .sdk .trace .SpanProcessor ;
4545import io .opentelemetry .sdk .trace .data .SpanData ;
4646import io .opentelemetry .sdk .trace .export .SimpleSpanProcessor ;
47+ import java .io .File ;
4748import java .io .IOException ;
4849import java .time .Duration ;
4950import java .util .List ;
@@ -131,7 +132,7 @@ public void afterTestClass() throws IOException {
131132 // Generates files in a `.telemetry` directory within the instrumentation module with all
132133 // captured emitted metadata to be used by the instrumentation-docs Doc generator.
133134 if (Boolean .getBoolean ("collectMetadata" )) {
134- String path = new java . io . File ("" ).getAbsolutePath ();
135+ String path = new File ("" ).getAbsolutePath ();
135136
136137 MetaDataCollector .writeTelemetryToFiles (path , metricsByScope , tracesByScope );
137138 }
You can’t perform that action at this time.
0 commit comments