Skip to content

Commit 740b260

Browse files
committed
add metadata
1 parent 391b7a9 commit 740b260

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

instrumentation/spring/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,12 @@
295295
"type": "java.util.Map<java.lang.String, java.lang.String>",
296296
"description": "Used to specify a mapping from host names or IP addresses to peer services, as a comma-separated list of <code>host_or_ip=user_assigned_name</code> pairs. The peer service is added as an attribute to a span whose host or IP address match the mapping. See https://opentelemetry.io/docs/zero-code/java/agent/configuration/#peer-service-name."
297297
},
298+
{
299+
"name": "otel.instrumentation.common.thread-details.enabled",
300+
"type": "java.lang.Boolean",
301+
"description": "Enable the capture of thread details (thread id and thread name) as span attributes.",
302+
"defaultValue": false
303+
},
298304
{
299305
"name": "otel.instrumentation.http.client.capture-request-headers",
300306
"type": "java.util.List<java.lang.String>",
@@ -627,6 +633,12 @@
627633
"description": "The maximum number of links per span.",
628634
"defaultValue": 128
629635
},
636+
{
637+
"name": "otel.spring-starter.debug",
638+
"type": "java.lang.Boolean",
639+
"description": "Print spans to console for debugging purposes.",
640+
"defaultValue": false
641+
},
630642
{
631643
"name": "otel.traces.exporter",
632644
"type": "java.util.List<java.lang.String>",

0 commit comments

Comments
 (0)