File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
groovy/io/opentelemetry/smoketest Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,9 @@ class ResourceCustomizerSmokeTest extends SmokeTest {
4747 client(). get(" /greeting" ). aggregate(). join()
4848 Collection<ExportTraceServiceRequest > traces = waitForTraces()
4949
50+ then : " There is one trace"
51+ traces. size() > 0
52+
5053 then : " declarative config is applied"
5154 def serviceName = findResourceAttribute(traces, " service.name" )
5255 .map { it. stringValue }
@@ -65,7 +68,7 @@ class ResourceCustomizerSmokeTest extends SmokeTest {
6568 .map { it. stringValue }
6669 .findAny()
6770 distroName. isPresent()
68- serviceName . get() == " opentelemetry-java-instrumentation"
71+ distroName . get() == " opentelemetry-java-instrumentation"
6972
7073 cleanup :
7174 stopTarget()
Original file line number Diff line number Diff line change 11file_format : 1.0-rc.1
2+
3+ tracer_provider :
4+ processors :
5+ - batch :
6+ schedule_delay : 10
7+ max_export_batch_size : 1
8+ exporter :
9+ otlp_grpc :
10+ endpoint : ${OTEL_EXPORTER_OTLP_ENDPOINT}
11+
212# add extra resource attributes to verify that declarative config is picked up
313resource :
414 attributes :
You can’t perform that action at this time.
0 commit comments