Skip to content

Commit

Permalink
Updated OpenAPI logs_pattern_query to support Patterns for any attrib…
Browse files Browse the repository at this point in the history
…ute (#26362)

Co-authored-by: ci.datadog-api-spec <[email protected]>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Nov 20, 2024
1 parent 806df5d commit cb62f0a
Show file tree
Hide file tree
Showing 6 changed files with 776 additions and 7 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": "2024-11-20 20:15:36.778949",
"spec_repo_commit": "ebf27b5e"
"regenerated": "2024-11-20 21:50:09.548317",
"spec_repo_commit": "34905ccb"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-11-20 20:15:44.855495",
"spec_repo_commit": "ebf27b5e"
"regenerated": "2024-11-20 21:50:17.496068",
"spec_repo_commit": "34905ccb"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,17 @@
{
"width": "auto",
"field": "timestamp"
},
{
"width": "auto",
"field": "message",
"is_clustering_pattern_field_path": true
}
],
"query": {
"data_source": "logs_pattern_stream",
"query_string": "",
"clustering_pattern_field_path": "message",
"group_by": [
{
"facet": "service"
Expand Down
10 changes: 7 additions & 3 deletions content/en/api/v1/dashboards/widgets.json

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions data/api/v1/full_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4761,6 +4761,11 @@ components:
description: Widget column field.
example: content
type: string
is_clustering_pattern_field_path:
description: Identifies the clustering pattern field column, usable only
with logs_pattern_stream.
example: true
type: boolean
width:
$ref: '#/components/schemas/ListStreamColumnWidth'
required:
Expand Down Expand Up @@ -4840,6 +4845,12 @@ components:
ListStreamQuery:
description: Updated list stream widget.
properties:
clustering_pattern_field_path:
default: message
description: Specifies the field for logs pattern clustering. Usable only
with logs_pattern_stream.
example: message
type: string
compute:
description: Compute configuration for the List Stream Widget. Compute can
be used only with the logs_transaction_stream (from 1 to 5 items) list
Expand Down
Loading

0 comments on commit cb62f0a

Please sign in to comment.