Skip to content

Commit 5c32ff9

Browse files
committed
STAC-25499: add span name, kind and status to componentquery
1 parent 828a7e5 commit 5c32ff9

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎spec/traces.api.yaml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,18 @@ components:
444444
spanAttributes:
445445
description: Attributes (key/value pairs) from the span itself.
446446
$ref: "#/components/schemas/Attributes"
447+
spanName:
448+
description: A description of the span's operation. For example, the name can be a qualified method name or a file name and a line number where the operation is called
449+
type: string
450+
spanKind:
451+
description: The type of span. Distinguishes between spans generated in a particular context.
452+
$ref: "settings.yaml#/components/schemas/SpanKind"
453+
statusCode:
454+
description: The status of the operation for the span
455+
$ref: "settings.yaml#/components/schemas/SpanStatusCode"
456+
statusMessage:
457+
description: Human readable message for the status
458+
type: string
447459
scopeName:
448460
description: "The name of the instrumentation scope for the span https://opentelemetry.io/docs/specs/otel/glossary/#instrumentation-scope"
449461
type: string

0 commit comments

Comments
 (0)