File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed
span-stacktrace/src/test/java/io/opentelemetry/contrib/stacktrace Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright The OpenTelemetry Authors
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
5
+
1
6
package io .opentelemetry .contrib .stacktrace ;
2
7
3
8
import static org .assertj .core .api .Assertions .assertThat ;
10
15
11
16
class StackTraceComponentProviderTest {
12
17
@ Test
13
- void endToEnd () {
14
- String yaml =
15
- "file_format: 0.4\n "
16
- + "tracer_provider:\n "
17
- + " processors:\n "
18
- + " - experimental-stacktrace:\n " ;
18
+ void endToEnd () {
19
+ String yaml =
20
+ "file_format: 0.4\n "
21
+ + "tracer_provider:\n "
22
+ + " processors:\n "
23
+ + " - experimental-stacktrace:\n " ;
19
24
20
- OpenTelemetrySdk openTelemetrySdk =
21
- DeclarativeConfiguration .parseAndCreate (
22
- new ByteArrayInputStream (yaml .getBytes (StandardCharsets .UTF_8 )));
25
+ OpenTelemetrySdk openTelemetrySdk =
26
+ DeclarativeConfiguration .parseAndCreate (
27
+ new ByteArrayInputStream (yaml .getBytes (StandardCharsets .UTF_8 )));
23
28
24
29
assertThat (openTelemetrySdk .getSdkTracerProvider ().toString ())
25
30
.contains ("StackTraceSpanProcessor" );
26
- }
31
+ }
27
32
}
You can’t perform that action at this time.
0 commit comments