Skip to content

Commit

Permalink
Regenerate client from commit f7a8bd6 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Feb 3, 2022
1 parent a28777b commit 23b2fab
Show file tree
Hide file tree
Showing 26 changed files with 2,268 additions and 55 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.2",
"regenerated": "2022-02-02 15:54:36.385436",
"spec_repo_commit": "3b52f9a"
"regenerated": "2022-02-03 09:45:21.849075",
"spec_repo_commit": "f7a8bd6"
},
"v2": {
"apigentools_version": "1.6.2",
"regenerated": "2022-02-02 15:54:36.397022",
"spec_repo_commit": "3b52f9a"
"regenerated": "2022-02-03 09:45:21.862721",
"spec_repo_commit": "f7a8bd6"
}
}
}
141 changes: 141 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5692,6 +5692,141 @@ components:
- FIREFOX_LAPTOP_LARGE
- FIREFOX_TABLET
- FIREFOX_MOBILE_SMALL
MonitorFormulaAndFunctionEventAggregation:
description: Aggregation methods for event platform queries.
enum:
- count
- cardinality
- median
- pc75
- pc90
- pc95
- pc98
- pc99
- sum
- min
- max
- avg
example: avg
type: string
x-enum-varnames:
- COUNT
- CARDINALITY
- MEDIAN
- PC75
- PC90
- PC95
- PC98
- PC99
- SUM
- MIN
- MAX
- AVG
MonitorFormulaAndFunctionEventQueryDefinition:
description: A formula and functions events query.
properties:
compute:
$ref: '#/components/schemas/MonitorFormulaAndFunctionEventQueryDefinitionCompute'
data_source:
$ref: '#/components/schemas/MonitorFormulaAndFunctionEventsDataSource'
group_by:
description: Group by options.
items:
$ref: '#/components/schemas/MonitorFormulaAndFunctionEventQueryGroupBy'
type: array
indexes:
description: An array of index names to query in the stream. Omit or use
`[]` to query all indexes at once.
example:
- days-3
- days-7
items:
description: A log index set up for your organization. For additional
indexes, see the [multiple indexes](https://docs.datadoghq.com/logs/indexes/#multiple-indexes)
documentation.
type: string
type: array
name:
description: Name of the query for use in formulas.
example: query_errors
type: string
search:
$ref: '#/components/schemas/MonitorFormulaAndFunctionEventQueryDefinitionSearch'
required:
- data_source
- compute
- name
type: object
MonitorFormulaAndFunctionEventQueryDefinitionCompute:
description: Compute options.
properties:
aggregation:
$ref: '#/components/schemas/MonitorFormulaAndFunctionEventAggregation'
interval:
description: A time interval in milliseconds.
example: 60000
format: int64
type: integer
metric:
description: Measurable attribute to compute.
example: '@duration'
type: string
required:
- aggregation
type: object
MonitorFormulaAndFunctionEventQueryDefinitionSearch:
description: Search options.
properties:
query:
description: Events search string.
example: service:query
type: string
required:
- query
type: object
MonitorFormulaAndFunctionEventQueryGroupBy:
description: List of objects used to group by.
properties:
facet:
description: Event facet.
example: status
type: string
limit:
description: Number of groups to return.
example: 10
format: int64
type: integer
sort:
$ref: '#/components/schemas/MonitorFormulaAndFunctionEventQueryGroupBySort'
required:
- facet
type: object
MonitorFormulaAndFunctionEventQueryGroupBySort:
description: Options for sorting group by results.
properties:
aggregation:
$ref: '#/components/schemas/MonitorFormulaAndFunctionEventAggregation'
metric:
description: Metric used for sorting group by results.
type: string
order:
$ref: '#/components/schemas/QuerySortOrder'
required:
- aggregation
type: object
MonitorFormulaAndFunctionEventsDataSource:
description: Data source for event platform-based queries.
enum:
- rum
example: rum
type: string
x-enum-varnames:
- RUM
MonitorFormulaAndFunctionQueryDefinition:
description: A formula and function query.
oneOf:
- $ref: '#/components/schemas/MonitorFormulaAndFunctionEventQueryDefinition'
type: object
MonitorGroupSearchResponse:
description: The response of a monitor group search.
example:
Expand Down Expand Up @@ -5976,6 +6111,12 @@ components:
format: int64
nullable: true
type: integer
variables:
description: List of requests that can be used in the monitor query. **This
feature is currently in beta.**
items:
$ref: '#/components/schemas/MonitorFormulaAndFunctionQueryDefinition'
type: array
type: object
MonitorOverallStates:
description: The different states your monitor can be in.
Expand Down
16 changes: 16 additions & 0 deletions api/v1/datadog/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,14 @@ docs/MetricsQueryResponse.md
docs/MetricsQueryUnit.md
docs/Monitor.md
docs/MonitorDeviceID.md
docs/MonitorFormulaAndFunctionEventAggregation.md
docs/MonitorFormulaAndFunctionEventQueryDefinition.md
docs/MonitorFormulaAndFunctionEventQueryDefinitionCompute.md
docs/MonitorFormulaAndFunctionEventQueryDefinitionSearch.md
docs/MonitorFormulaAndFunctionEventQueryGroupBy.md
docs/MonitorFormulaAndFunctionEventQueryGroupBySort.md
docs/MonitorFormulaAndFunctionEventsDataSource.md
docs/MonitorFormulaAndFunctionQueryDefinition.md
docs/MonitorGroupSearchResponse.md
docs/MonitorGroupSearchResponseCounts.md
docs/MonitorGroupSearchResult.md
Expand Down Expand Up @@ -978,6 +986,14 @@ model_metrics_query_response.go
model_metrics_query_unit.go
model_monitor.go
model_monitor_device_id.go
model_monitor_formula_and_function_event_aggregation.go
model_monitor_formula_and_function_event_query_definition.go
model_monitor_formula_and_function_event_query_definition_compute.go
model_monitor_formula_and_function_event_query_definition_search.go
model_monitor_formula_and_function_event_query_group_by.go
model_monitor_formula_and_function_event_query_group_by_sort.go
model_monitor_formula_and_function_events_data_source.go
model_monitor_formula_and_function_query_definition.go
model_monitor_group_search_response.go
model_monitor_group_search_response_counts.go
model_monitor_group_search_result.go
Expand Down
8 changes: 8 additions & 0 deletions api/v1/datadog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,14 @@ All URIs are relative to *https://api.datadoghq.com*
- [MetricsQueryUnit](docs/MetricsQueryUnit.md)
- [Monitor](docs/Monitor.md)
- [MonitorDeviceID](docs/MonitorDeviceID.md)
- [MonitorFormulaAndFunctionEventAggregation](docs/MonitorFormulaAndFunctionEventAggregation.md)
- [MonitorFormulaAndFunctionEventQueryDefinition](docs/MonitorFormulaAndFunctionEventQueryDefinition.md)
- [MonitorFormulaAndFunctionEventQueryDefinitionCompute](docs/MonitorFormulaAndFunctionEventQueryDefinitionCompute.md)
- [MonitorFormulaAndFunctionEventQueryDefinitionSearch](docs/MonitorFormulaAndFunctionEventQueryDefinitionSearch.md)
- [MonitorFormulaAndFunctionEventQueryGroupBy](docs/MonitorFormulaAndFunctionEventQueryGroupBy.md)
- [MonitorFormulaAndFunctionEventQueryGroupBySort](docs/MonitorFormulaAndFunctionEventQueryGroupBySort.md)
- [MonitorFormulaAndFunctionEventsDataSource](docs/MonitorFormulaAndFunctionEventsDataSource.md)
- [MonitorFormulaAndFunctionQueryDefinition](docs/MonitorFormulaAndFunctionQueryDefinition.md)
- [MonitorGroupSearchResponse](docs/MonitorGroupSearchResponse.md)
- [MonitorGroupSearchResponseCounts](docs/MonitorGroupSearchResponseCounts.md)
- [MonitorGroupSearchResult](docs/MonitorGroupSearchResult.md)
Expand Down
29 changes: 29 additions & 0 deletions api/v1/datadog/docs/MonitorFormulaAndFunctionEventAggregation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# MonitorFormulaAndFunctionEventAggregation

## Enum

- `COUNT` (value: `"count"`)

- `CARDINALITY` (value: `"cardinality"`)

- `MEDIAN` (value: `"median"`)

- `PC75` (value: `"pc75"`)

- `PC90` (value: `"pc90"`)

- `PC95` (value: `"pc95"`)

- `PC98` (value: `"pc98"`)

- `PC99` (value: `"pc99"`)

- `SUM` (value: `"sum"`)

- `MIN` (value: `"min"`)

- `MAX` (value: `"max"`)

- `AVG` (value: `"avg"`)

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Loading

0 comments on commit 23b2fab

Please sign in to comment.