Skip to content

Commit c265318

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 63afe87 of spec repo
1 parent e1eb335 commit c265318

File tree

4 files changed

+181
-31
lines changed

4 files changed

+181
-31
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.4.1.dev8",
7-
"regenerated": "2021-06-15 15:14:59.121472",
8-
"spec_repo_commit": "67742c8"
7+
"regenerated": "2021-06-16 20:10:39.335977",
8+
"spec_repo_commit": "63afe87"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev8",
12-
"regenerated": "2021-06-15 15:15:30.259602",
13-
"spec_repo_commit": "67742c8"
12+
"regenerated": "2021-06-16 20:11:07.528720",
13+
"spec_repo_commit": "63afe87"
1414
}
1515
}
1616
}

api/v1/datadog/api/openapi.yaml

Lines changed: 51 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -15105,6 +15105,19 @@ components:
1510515105
description: Object containing all metric names returned and their associated
1510615106
metadata.
1510715107
example:
15108+
expression: system.cpu.idle{host:foo,env:test}
15109+
pointlist:
15110+
- - 1575317847
15111+
- 0.5
15112+
- - 1575317847
15113+
- 0.5
15114+
length: 5
15115+
start: 2
15116+
query_index: 5
15117+
display_name: system.cpu.idle
15118+
tag_set:
15119+
- tag_set
15120+
- tag_set
1510815121
unit:
1510915122
- plural: minutes
1511015123
name: minute
@@ -15116,20 +15129,11 @@ components:
1511615129
short_name: min
1511715130
family: time
1511815131
scale_factor: 60.0
15119-
expression: system.cpu.idle{host:foo,env:test}
1512015132
metric: system.cpu.idle
15121-
pointlist:
15122-
- - 1575317847
15123-
- 0.5
15124-
- - 1575317847
15125-
- 0.5
1512615133
scope: host:foo,env:test
15127-
length: 5
15128-
start: 5
1512915134
end: 6
1513015135
interval: 1
1513115136
aggr: avg
15132-
display_name: system.cpu.idle
1513315137
properties:
1513415138
aggr:
1513515139
description: Aggregation type.
@@ -15172,6 +15176,11 @@ components:
1517215176
$ref: '#/components/schemas/Point'
1517315177
readOnly: true
1517415178
type: array
15179+
query_index:
15180+
description: The index of the series' query within the request.
15181+
format: int64
15182+
readOnly: true
15183+
type: integer
1517515184
scope:
1517615185
description: Metric scope, comma separated list of tags.
1517715186
example: host:foo,env:test
@@ -15182,6 +15191,13 @@ components:
1518215191
format: int64
1518315192
readOnly: true
1518415193
type: integer
15194+
tag_set:
15195+
description: Unique tags identifying this series.
15196+
items:
15197+
description: Unique tags identifying this series.
15198+
type: string
15199+
readOnly: true
15200+
type: array
1518515201
unit:
1518615202
description: |-
1518715203
Detailed information about the metric unit.
@@ -15200,9 +15216,22 @@ components:
1520015216
example:
1520115217
res_type: time_series
1520215218
from_date: 0
15203-
to_date: 2
15219+
to_date: 7
1520415220
series:
15205-
- unit:
15221+
- expression: system.cpu.idle{host:foo,env:test}
15222+
pointlist:
15223+
- - 1575317847
15224+
- 0.5
15225+
- - 1575317847
15226+
- 0.5
15227+
length: 5
15228+
start: 2
15229+
query_index: 5
15230+
display_name: system.cpu.idle
15231+
tag_set:
15232+
- tag_set
15233+
- tag_set
15234+
unit:
1520615235
- plural: minutes
1520715236
name: minute
1520815237
short_name: min
@@ -15213,21 +15242,25 @@ components:
1521315242
short_name: min
1521415243
family: time
1521515244
scale_factor: 60.0
15216-
expression: system.cpu.idle{host:foo,env:test}
1521715245
metric: system.cpu.idle
15246+
scope: host:foo,env:test
15247+
end: 6
15248+
interval: 1
15249+
aggr: avg
15250+
- expression: system.cpu.idle{host:foo,env:test}
1521815251
pointlist:
1521915252
- - 1575317847
1522015253
- 0.5
1522115254
- - 1575317847
1522215255
- 0.5
15223-
scope: host:foo,env:test
1522415256
length: 5
15225-
start: 5
15226-
end: 6
15227-
interval: 1
15228-
aggr: avg
15257+
start: 2
15258+
query_index: 5
1522915259
display_name: system.cpu.idle
15230-
- unit:
15260+
tag_set:
15261+
- tag_set
15262+
- tag_set
15263+
unit:
1523115264
- plural: minutes
1523215265
name: minute
1523315266
short_name: min
@@ -15238,20 +15271,11 @@ components:
1523815271
short_name: min
1523915272
family: time
1524015273
scale_factor: 60.0
15241-
expression: system.cpu.idle{host:foo,env:test}
1524215274
metric: system.cpu.idle
15243-
pointlist:
15244-
- - 1575317847
15245-
- 0.5
15246-
- - 1575317847
15247-
- 0.5
1524815275
scope: host:foo,env:test
15249-
length: 5
15250-
start: 5
1525115276
end: 6
1525215277
interval: 1
1525315278
aggr: avg
15254-
display_name: system.cpu.idle
1525515279
query: query
1525615280
group_by:
1525715281
- group_by

api/v1/datadog/docs/MetricsQueryMetadata.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ Name | Type | Description | Notes
1212
**Length** | Pointer to **int64** | Number of data samples. | [optional] [readonly]
1313
**Metric** | Pointer to **string** | Metric name. | [optional] [readonly]
1414
**Pointlist** | Pointer to **[][]float64** | List of points of the time series. | [optional] [readonly]
15+
**QueryIndex** | Pointer to **int64** | The index of the series' query within the request. | [optional] [readonly]
1516
**Scope** | Pointer to **string** | Metric scope, comma separated list of tags. | [optional] [readonly]
1617
**Start** | Pointer to **int64** | Start of the time window, milliseconds since Unix epoch. | [optional] [readonly]
18+
**TagSet** | Pointer to **[]string** | Unique tags identifying this series. | [optional] [readonly]
1719
**Unit** | Pointer to [**[]MetricsQueryUnit**](MetricsQueryUnit.md) | Detailed information about the metric unit. First element describes the \"primary unit\" (for example, `bytes` in `bytes per second`), second describes the \"per unit\" (for example, `second` in `bytes per second`). | [optional] [readonly]
1820

1921
## Methods
@@ -235,6 +237,31 @@ SetPointlist sets Pointlist field to given value.
235237

236238
HasPointlist returns a boolean if a field has been set.
237239

240+
### GetQueryIndex
241+
242+
`func (o *MetricsQueryMetadata) GetQueryIndex() int64`
243+
244+
GetQueryIndex returns the QueryIndex field if non-nil, zero value otherwise.
245+
246+
### GetQueryIndexOk
247+
248+
`func (o *MetricsQueryMetadata) GetQueryIndexOk() (*int64, bool)`
249+
250+
GetQueryIndexOk returns a tuple with the QueryIndex field if it's non-nil, zero value otherwise
251+
and a boolean to check if the value has been set.
252+
253+
### SetQueryIndex
254+
255+
`func (o *MetricsQueryMetadata) SetQueryIndex(v int64)`
256+
257+
SetQueryIndex sets QueryIndex field to given value.
258+
259+
### HasQueryIndex
260+
261+
`func (o *MetricsQueryMetadata) HasQueryIndex() bool`
262+
263+
HasQueryIndex returns a boolean if a field has been set.
264+
238265
### GetScope
239266

240267
`func (o *MetricsQueryMetadata) GetScope() string`
@@ -285,6 +312,31 @@ SetStart sets Start field to given value.
285312

286313
HasStart returns a boolean if a field has been set.
287314

315+
### GetTagSet
316+
317+
`func (o *MetricsQueryMetadata) GetTagSet() []string`
318+
319+
GetTagSet returns the TagSet field if non-nil, zero value otherwise.
320+
321+
### GetTagSetOk
322+
323+
`func (o *MetricsQueryMetadata) GetTagSetOk() (*[]string, bool)`
324+
325+
GetTagSetOk returns a tuple with the TagSet field if it's non-nil, zero value otherwise
326+
and a boolean to check if the value has been set.
327+
328+
### SetTagSet
329+
330+
`func (o *MetricsQueryMetadata) SetTagSet(v []string)`
331+
332+
SetTagSet sets TagSet field to given value.
333+
334+
### HasTagSet
335+
336+
`func (o *MetricsQueryMetadata) HasTagSet() bool`
337+
338+
HasTagSet returns a boolean if a field has been set.
339+
288340
### GetUnit
289341

290342
`func (o *MetricsQueryMetadata) GetUnit() []MetricsQueryUnit`

api/v1/datadog/model_metrics_query_metadata.go

Lines changed: 74 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)