Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.4.1.dev8",
"regenerated": "2021-03-08 08:26:25.585432",
"spec_repo_commit": "317577f"
"regenerated": "2021-03-08 11:23:20.688526",
"spec_repo_commit": "a75da1e"
},
"v2": {
"apigentools_version": "1.4.1.dev8",
"regenerated": "2021-03-08 08:26:37.065132",
"spec_repo_commit": "317577f"
"regenerated": "2021-03-08 11:23:30.713144",
"spec_repo_commit": "a75da1e"
}
}
}
2 changes: 1 addition & 1 deletion api_docs/v1/FormulaAndFunctionEventQueryDefinition.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Name | Type | Description | Notes
**dataSource** | **FormulaAndFunctionEventsDataSource** | |
**groupBy** | [**List<FormulaAndFunctionEventQueryGroupBy>**](FormulaAndFunctionEventQueryGroupBy.md) | Group by options. | [optional]
**indexes** | **List<String>** | An array of index names to query in the stream. Omit or use `[]` to query all indexes at once. | [optional]
**name** | **String** | Name of the query for use in formulas. | [optional]
**name** | **String** | Name of the query for use in formulas. |
**search** | [**FormulaAndFunctionEventQueryDefinitionSearch**](FormulaAndFunctionEventQueryDefinitionSearch.md) | | [optional]


Expand Down
2 changes: 1 addition & 1 deletion api_docs/v1/FormulaAndFunctionMetricQueryDefinition.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**aggregator** | **FormulaAndFunctionMetricAggregation** | | [optional]
**dataSource** | **FormulaAndFunctionMetricDataSource** | |
**name** | **String** | Name of the query for use in formulas. | [optional]
**name** | **String** | Name of the query for use in formulas. |
**query** | **String** | Metrics query definition. |


Expand Down
2 changes: 1 addition & 1 deletion api_docs/v1/FormulaAndFunctionProcessQueryDefinition.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Name | Type | Description | Notes
**isNormalizedCpu** | **Boolean** | Whether to normalize the CPU percentages. | [optional]
**limit** | **Long** | Number of hits to return. | [optional]
**metric** | **String** | Process metric name. |
**name** | **String** | Name of query for use in formulas. | [optional]
**name** | **String** | Name of query for use in formulas. |
**sort** | **QuerySortOrder** | | [optional]
**tagFilters** | **List<String>** | An array of tags to filter by. | [optional]
**textFilter** | **String** | Text to use as filter. | [optional]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,9 @@ public FormulaAndFunctionEventQueryDefinition name(String name) {
* Name of the query for use in formulas.
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "query_errors", value = "Name of the query for use in formulas.")
@ApiModelProperty(example = "query_errors", required = true, value = "Name of the query for use in formulas.")
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)

public String getName() {
return name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,9 @@ public FormulaAndFunctionMetricQueryDefinition name(String name) {
* Name of the query for use in formulas.
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "my_query", value = "Name of the query for use in formulas.")
@ApiModelProperty(example = "my_query", required = true, value = "Name of the query for use in formulas.")
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)

public String getName() {
return name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,9 @@ public FormulaAndFunctionProcessQueryDefinition name(String name) {
* Name of query for use in formulas.
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Name of query for use in formulas.")
@ApiModelProperty(example = "query_errors", required = true, value = "Name of query for use in formulas.")
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)

public String getName() {
return name;
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/com/datadog/api/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1657,6 +1657,7 @@ components:
required:
- data_source
- compute
- name
type: object
FormulaAndFunctionEventQueryGroupBy:
description: List of objects used to group by.
Expand Down Expand Up @@ -1753,6 +1754,7 @@ components:
required:
- data_source
- query
- name
type: object
FormulaAndFunctionProcessQueryDataSource:
description: Data sources that rely on the process backend.
Expand Down Expand Up @@ -1783,6 +1785,7 @@ components:
type: string
name:
description: Name of query for use in formulas.
example: query_errors
type: string
sort:
$ref: '#/components/schemas/QuerySortOrder'
Expand All @@ -1798,6 +1801,7 @@ components:
required:
- data_source
- metric
- name
type: object
FormulaAndFunctionQueryDefinition:
description: A formula and function query.
Expand Down