Skip to content

Commit

Permalink
Regenerate client from commit ee87a556 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Feb 21, 2025
1 parent 60b82b0 commit d3dd293
Show file tree
Hide file tree
Showing 7 changed files with 1,021 additions and 33 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-02-20 18:35:09.966961",
"spec_repo_commit": "d3fcdb89"
"regenerated": "2025-02-21 15:29:55.476317",
"spec_repo_commit": "ee87a556"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-02-20 18:35:18.495177",
"spec_repo_commit": "d3fcdb89"
"regenerated": "2025-02-21 15:30:04.024338",
"spec_repo_commit": "ee87a556"
}
}
}
12 changes: 6 additions & 6 deletions content/en/api/v1/logs-pipelines/examples.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"filter": {
"query": "source:python"
},
"name": "testPipeline",
"processors": [
{
"type": "span-id-remapper",
"is_enabled": true,
"name": "test_filter",
"sources": [
"dd.span_id"
]
}
],
"tags": []
}
7 changes: 7 additions & 0 deletions data/api/v1/CodeExamples.json
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,13 @@
"description": "Send logs returns \"Response from server (always 200 empty JSON).\" response"
}
],
"CreateLogsPipeline": [
{
"group": "logs_pipelines",
"suffix": "_2707101123",
"description": "Create a pipeline with Span Id Remapper returns \"OK\" response"
}
],
"SubmitDistributionPoints": [
{
"group": "metrics",
Expand Down
40 changes: 39 additions & 1 deletion data/api/v1/full_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6156,6 +6156,7 @@ components:
- $ref: '#/components/schemas/LogsLookupProcessor'
- $ref: '#/components/schemas/ReferenceTableLogsLookupProcessor'
- $ref: '#/components/schemas/LogsTraceRemapper'
- $ref: '#/components/schemas/LogsSpanRemapper'
LogsQueryCompute:
description: Define computation for a log query.
properties:
Expand Down Expand Up @@ -6267,6 +6268,43 @@ components:
x-enum-varnames:
- TIME_ASCENDING
- TIME_DESCENDING
LogsSpanRemapper:
description: "There are two ways to define correlation between application spans
and logs:\n\n 1. Follow the documentation on [how to inject a span ID in
the application logs](https://docs.datadoghq.com/tracing/connect_logs_and_traces).\n
\ Log integrations automatically handle all remaining setup steps by default.\n\n
\ 2. Use the span remapper processor to define a log attribute as its associated
span ID."
properties:
is_enabled:
default: false
description: Whether or not the processor is enabled.
type: boolean
name:
description: Name of the processor.
type: string
sources:
default:
- dd.span_id
description: Array of source attributes.
items:
description: Attribute to extract the span ID from.
type: string
type: array
type:
$ref: '#/components/schemas/LogsSpanRemapperType'
required:
- type
type: object
LogsSpanRemapperType:
default: span-id-remapper
description: Type of logs span remapper.
enum:
- span-id-remapper
example: span-id-remapper
type: string
x-enum-varnames:
- SPAN_ID_REMAPPER
LogsStatusRemapper:
description: "Use this Processor if you want to assign some attributes as the
official status.\n\nEach incoming status value is mapped as follows.\n\n -
Expand Down Expand Up @@ -6382,7 +6420,7 @@ components:
- dd.trace_id
description: Array of source attributes.
items:
description: Attribute to extract the Trace ID from.
description: Attribute to extract the trace ID from.
type: string
type: array
type:
Expand Down
Loading

0 comments on commit d3dd293

Please sign in to comment.