Skip to content

Commit 84a915d

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit ea9b9c8 of spec repo (#842)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 2bd1647 commit 84a915d

File tree

12 files changed

+121
-107
lines changed

12 files changed

+121
-107
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.2",
7-
"regenerated": "2022-02-16 17:30:07.009940",
8-
"spec_repo_commit": "3cbdb80"
7+
"regenerated": "2022-02-17 11:53:45.396498",
8+
"spec_repo_commit": "ea9b9c8"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.2",
12-
"regenerated": "2022-02-16 17:30:07.021132",
13-
"spec_repo_commit": "3cbdb80"
12+
"regenerated": "2022-02-17 11:53:45.407527",
13+
"spec_repo_commit": "ea9b9c8"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 38 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ components:
712712
the dedicated [Request JSON schema documentation](https://docs.datadoghq.com/dashboards/graphing_json/request_json)\n
713713
to learn how to build the `REQUEST_SCHEMA`."
714714
example:
715-
- q/apm_query/log_query: <METRIC_1>{<SCOPE_1>}
715+
- q: <METRIC_1>{<SCOPE_1>}
716716
items:
717717
$ref: '#/components/schemas/ChangeWidgetRequest'
718718
maxItems: 1
@@ -2435,6 +2435,7 @@ components:
24352435
description: A formula and functions metrics query.
24362436
example:
24372437
data_source: metrics
2438+
name: my_query
24382439
query: avg:system.cpu.user{*}
24392440
properties:
24402441
aggregator:
@@ -2613,7 +2614,6 @@ components:
26132614
requests:
26142615
description: Request payload used to query items.
26152616
example:
2616-
- request_type: funnel
26172617
- query:
26182618
data_source: rum
26192619
query_string: '@browser.name:Chrome'
@@ -2622,6 +2622,7 @@ components:
26222622
value: /logs
26232623
- facet: '@view.name'
26242624
value: /apm/home
2625+
request_type: funnel
26252626
items:
26262627
$ref: '#/components/schemas/FunnelWidgetRequest'
26272628
maxItems: 1
@@ -2754,7 +2755,9 @@ components:
27542755

27552756
for information about building the `REQUEST_SCHEMA`.'
27562757
example:
2757-
- rum_query: <METRIC_1>{<SCOPE_1>}
2758+
- rum_query:
2759+
search:
2760+
query: <METRIC_1>{<SCOPE_1>}
27582761
items:
27592762
$ref: '#/components/schemas/GeomapWidgetRequest'
27602763
maxItems: 1
@@ -2977,7 +2980,7 @@ components:
29772980
example: payment
29782981
type: string
29792982
required:
2980-
- name
2983+
- message
29812984
type: object
29822985
HTTPMethod:
29832986
description: The HTTP method.
@@ -3878,13 +3881,13 @@ components:
38783881
requests:
38793882
description: Request payload used to query items.
38803883
example:
3881-
- response_format: event_list
38823884
- columns:
38833885
- field: timestamp
38843886
width: auto
3885-
- query:
3887+
query:
38863888
data_source: issue_stream
38873889
query_string: '@data_source:APM'
3890+
response_format: event_list
38883891
items:
38893892
$ref: '#/components/schemas/ListStreamWidgetRequest'
38903893
maxItems: 1
@@ -6061,7 +6064,7 @@ components:
60616064
stops reporting.
60626065
type: boolean
60636066
renotify_interval:
6064-
default: none
6067+
default: null
60656068
description: "The number of minutes after the last notification before a
60666069
monitor re-notifies on the current status.\nIt only re-notifies if it\u2019s
60676070
not resolved."
@@ -6106,7 +6109,7 @@ components:
61066109
thresholds:
61076110
$ref: '#/components/schemas/MonitorThresholds'
61086111
timeout_h:
6109-
default: none
6112+
default: null
61106113
description: The number of hours of the monitor not reporting data before
61116114
it automatically resolves from a triggered state. The minimum allowed
61126115
value is 0 hours. The maximum allowed value is 24 hours.
@@ -6945,6 +6948,7 @@ components:
69456948
type: boolean
69466949
type: object
69476950
NotebookCellCreateRequest:
6951+
additionalProperties: false
69486952
description: The description of a notebook cell create request.
69496953
properties:
69506954
attributes:
@@ -7289,7 +7293,6 @@ components:
72897293
$ref: '#/components/schemas/NotebookMetadataType'
72907294
type: object
72917295
NotebookMetadataType:
7292-
default: null
72937296
description: Metadata type of the notebook.
72947297
enum:
72957298
- postmortem
@@ -8561,17 +8564,17 @@ components:
85618564
description: For `monitor` based SLOs, this includes the aggregated history
85628565
as arrays that include time series and uptime data where `0=monitor` is
85638566
in `OK` state and `1=monitor` is in `alert` state.
8567+
example:
8568+
- - 1579212382
8569+
- 0
85648570
items:
85658571
description: Represents an array time series data.
85668572
example:
8567-
- - 1579212382
8568-
- 0
8573+
- 1579212382
8574+
- 0
85698575
items:
85708576
description: A time series data point which is a tuple of (timestamp,
85718577
value).
8572-
example:
8573-
- 1579212382
8574-
- 0
85758578
format: double
85768579
type: number
85778580
maxItems: 2
@@ -8597,7 +8600,7 @@ components:
85978600
deprecated: true
85988601
description: The amount of decimal places the SLI value is accurate to for
85998602
the given from `&&` to timestamp. Use `span_precision` instead.
8600-
example: 2
8603+
example: 2.0
86018604
format: double
86028605
type: number
86038606
preview:
@@ -8615,7 +8618,7 @@ components:
86158618
span_precision:
86168619
description: The amount of decimal places the SLI value is accurate to for
86178620
the given from `&&` to timestamp.
8618-
example: 2
8621+
example: 2.0
86198622
format: double
86208623
type: number
86218624
uptime:
@@ -8642,7 +8645,6 @@ components:
86428645

86438646

86448647
This is not included in responses for `monitor` based SLOs.'
8645-
example: []
86468648
items:
86478649
description: A grouping parameter.
86488650
type: string
@@ -8653,7 +8655,6 @@ components:
86538655

86548656

86558657
This is not included in the responses for `metric` based SLOs.'
8656-
example: []
86578658
items:
86588659
$ref: '#/components/schemas/SLOHistoryMonitor'
86598660
type: array
@@ -8663,7 +8664,6 @@ components:
86638664

86648665

86658666
This is not included in the responses for `metric` based SLOs.'
8666-
example: []
86678667
items:
86688668
$ref: '#/components/schemas/SLOHistoryMonitor'
86698669
type: array
@@ -8675,7 +8675,10 @@ components:
86758675
additionalProperties:
86768676
$ref: '#/components/schemas/SLOThreshold'
86778677
description: mapping of string timeframe to the SLO threshold.
8678-
example: {}
8678+
example:
8679+
my_service:
8680+
target: 95
8681+
timeframe: 7d
86798682
type: object
86808683
to_ts:
86818684
description: The `to` timestamp in epoch seconds.
@@ -8740,17 +8743,17 @@ components:
87408743
description: For `monitor` based SLOs, this includes the aggregated history
87418744
as arrays that include time series and uptime data where `0=monitor` is
87428745
in `OK` state and `1=monitor` is in `alert` state.
8746+
example:
8747+
- - 1579212382
8748+
- 0
87438749
items:
87448750
description: Represents an array time series data.
87458751
example:
8746-
- - 1579212382
8747-
- 0
8752+
- 1579212382
8753+
- 0
87488754
items:
87498755
description: A time series data point which is a tuple of (timestamp,
87508756
value).
8751-
example:
8752-
- 1579212382
8753-
- 0
87548757
format: double
87558758
type: number
87568759
maxItems: 2
@@ -8798,7 +8801,7 @@ components:
87988801
span_precision:
87998802
description: The amount of decimal places the SLI value is accurate to for
88008803
the given from `&&` to timestamp.
8801-
example: 2
8804+
example: 2.0
88028805
format: double
88038806
type: number
88048807
uptime:
@@ -10300,7 +10303,6 @@ components:
1030010303
target:
1030110304
description: Value used by the operator.
1030210305
example: 123456
10303-
nullable: false
1030410306
type:
1030510307
$ref: '#/components/schemas/SyntheticsAssertionType'
1030610308
required:
@@ -18542,10 +18544,9 @@ paths:
1854218544
application/json:
1854318545
schema:
1854418546
example:
18545-
value:
18546-
- namespace1
18547-
- namespace2
18548-
- namespace3
18547+
- namespace1
18548+
- namespace2
18549+
- namespace3
1854918550
items:
1855018551
type: string
1855118552
type: array
@@ -22749,7 +22750,7 @@ paths:
2274922750
- metric: system.load.1
2275022751
points:
2275122752
- - ${NOW}
22752-
- '1234.5'
22753+
- 1234.5
2275322754
x-variables:
2275422755
NOW: $(date +%s)
2275522756
schema:
@@ -27539,6 +27540,10 @@ paths:
2753927540
value:
2754027541
- message: hello
2754127542
- message: world
27543+
schema:
27544+
$ref: '#/components/schemas/HTTPLog'
27545+
application/json;simple:
27546+
examples:
2754227547
simple-json-message:
2754327548
description: Log attributes can be passed as `key:value` pairs in
2754427549
valid JSON messages.
@@ -27549,7 +27554,7 @@ paths:
2754927554
hostname: fa1e1e739d95
2755027555
message: hello world
2755127556
schema:
27552-
$ref: '#/components/schemas/HTTPLog'
27557+
$ref: '#/components/schemas/HTTPLogItem'
2755327558
application/logplex-1:
2755427559
examples:
2755527560
multi-raw-message:

0 commit comments

Comments
 (0)