Skip to content

Commit 1681d12

Browse files
AnoshanJnilushancosta
authored andcommitted
feat: add support for including span and resource attributes in traces query response
Signed-off-by: Anoshan Jayahanthan <101160077+AnoshanJ@users.noreply.github.com>
1 parent dd61216 commit 1681d12

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

static/api-specs/observability-tracing-adapter-api.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,10 @@ components:
267267
default: desc
268268
searchScope:
269269
$ref: "#/components/schemas/ComponentSearchScope"
270+
includeAttributes:
271+
type: boolean
272+
description: Whether to include span attributes in the response. Defaults to false.
273+
default: false
270274
required: [startTime, endTime, searchScope]
271275

272276

@@ -362,6 +366,14 @@ components:
362366
type: string
363367
enum: [ok, error, unset]
364368
description: The execution status of the span. One of "ok", "error", or "unset".
369+
attributes:
370+
type: object
371+
description: The span attributes
372+
additionalProperties: true
373+
resourceAttributes:
374+
type: object
375+
description: The resource attributes
376+
additionalProperties: true
365377
total:
366378
type: integer
367379
description: The total number of matching spans, capped at 1000

0 commit comments

Comments
 (0)