@@ -31,12 +31,12 @@ class OtelSpec extends AnyWordSpec {
3131 val properties = Otel .configureSystemProperties(config)
3232
3333 assert(properties(" otel.java.global-autoconfigure.enabled" ) === " true" )
34- assert(properties(" otel.service.version" ) === " v2.20 .0" ) // BuildInfo.version
34+ assert(properties(" otel.service.version" ) === " v2.21 .0" ) // BuildInfo.version
3535 assert(properties(" otel.service.name" ) === " test-service" )
3636 assert(properties(" otel.service.namespace" ) === " test-namespace" )
3737 assert(properties(" otel.exporter.otlp.endpoint" ) === " http://localhost:4317" )
3838 assert(properties(" otel.propagators" ) === " tracecontext,baggage" )
39- assert(properties(" otel.resource.attributes" ) === " service.name=test-service,service.version=v2.20 .0,service.namespace=test-namespace" )
39+ assert(properties(" otel.resource.attributes" ) === " service.name=test-service,service.version=v2.21 .0,service.namespace=test-namespace" )
4040 assert(properties(" otel.exporter.otlp.protocol" ) === " http/protobuf" )
4141 }
4242
@@ -50,9 +50,9 @@ class OtelSpec extends AnyWordSpec {
5050 val properties = Otel .configureSystemProperties(config)
5151
5252 assert(properties(" otel.java.global-autoconfigure.enabled" ) === " true" )
53- assert(properties(" otel.service.version" ) === " v2.20 .0" )
53+ assert(properties(" otel.service.version" ) === " v2.21 .0" )
5454 assert(properties(" otel.propagators" ) === " tracecontext" ) // default
55- assert(properties(" otel.resource.attributes" ) === " service.name=qualtet,service.version=v2.20 .0" )
55+ assert(properties(" otel.resource.attributes" ) === " service.name=qualtet,service.version=v2.21 .0" )
5656 assert(properties(" otel.exporter.otlp.protocol" ) === " http/protobuf" )
5757 assert(! properties.contains(" otel.service.name" ))
5858 assert(! properties.contains(" otel.service.namespace" ))
@@ -69,7 +69,7 @@ class OtelSpec extends AnyWordSpec {
6969 val properties = Otel .configureSystemProperties(config)
7070
7171 assert(properties(" otel.java.global-autoconfigure.enabled" ) === " true" )
72- assert(properties(" otel.service.version" ) === " v2.20 .0" )
72+ assert(properties(" otel.service.version" ) === " v2.21 .0" )
7373 assert(properties(" otel.service.name" ) === " mixed-service" )
7474 assert(properties(" otel.propagators" ) === " b3" )
7575 assert(properties(" otel.exporter.otlp.protocol" ) === " http/protobuf" )
@@ -147,7 +147,7 @@ class OtelSpec extends AnyWordSpec {
147147 " return all resource attributes when config has all values" in {
148148 val resourceAttributes = Otel .buildResourceAttributes(baseConfig)
149149
150- assert(resourceAttributes === " service.name=test-service,service.version=v2.20 .0,service.namespace=test-namespace" )
150+ assert(resourceAttributes === " service.name=test-service,service.version=v2.21 .0,service.namespace=test-namespace" )
151151 }
152152
153153 " return minimal resource attributes when config has no optional values" in {
@@ -156,7 +156,7 @@ class OtelSpec extends AnyWordSpec {
156156 )
157157 val resourceAttributes = Otel .buildResourceAttributes(config)
158158
159- assert(resourceAttributes === " service.name=qualtet,service.version=v2.20 .0" )
159+ assert(resourceAttributes === " service.name=qualtet,service.version=v2.21 .0" )
160160 }
161161
162162 " return resource attributes with only service name when namespace is None" in {
@@ -165,7 +165,7 @@ class OtelSpec extends AnyWordSpec {
165165 )
166166 val resourceAttributes = Otel .buildResourceAttributes(config)
167167
168- assert(resourceAttributes === " service.name=test-service,service.version=v2.20 .0" )
168+ assert(resourceAttributes === " service.name=test-service,service.version=v2.21 .0" )
169169 }
170170
171171 " return resource attributes with custom service name" in {
@@ -174,7 +174,7 @@ class OtelSpec extends AnyWordSpec {
174174 )
175175 val resourceAttributes = Otel .buildResourceAttributes(config)
176176
177- assert(resourceAttributes === " service.name=custom-service,service.version=v2.20 .0,service.namespace=test-namespace" )
177+ assert(resourceAttributes === " service.name=custom-service,service.version=v2.21 .0,service.namespace=test-namespace" )
178178 }
179179 }
180180
0 commit comments