Skip to content

Commit

Permalink
add integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitlinger committed Feb 16, 2024
1 parent 61de780 commit ffb7cd3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
spring.application.name=otel-spring-test-app

logging.level.root=WARN
logging.level.io.opentelemetry=INFO
logging.pattern.console=%-5level [%t] %C{1.}: %msg trace_id=%X{trace_id}%n
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class SpringBootSmokeTest extends SmokeTest {
.map { it.stringValue }
.findAny()
serviceName.isPresent()
serviceName.get() == "otel-spring-test-app"
serviceName.get() == "spring-boot"

then: "service version is autodetected"
def serviceVersion = findResourceAttribute(traces, "service.version")
Expand Down

0 comments on commit ffb7cd3

Please sign in to comment.