Skip to content

Commit 2bafb38

Browse files
api-clients-generation-pipeline[bot]jirikuncarci.datadog-api-spec
authored
Add v2 metric tags and metric volumes endpoints (#307)
* pin ddtrace * Regenerate client from commit aad6dbb of spec repo Co-authored-by: Jiri Kuncar <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 1c9c1b8 commit 2bafb38

File tree

67 files changed

+4032
-654
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+4032
-654
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-03-03 15:21:00.231371",
8-
"spec_repo_commit": "0de7e0c"
7+
"regenerated": "2021-03-05 09:33:11.594025",
8+
"spec_repo_commit": "aad6dbb"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev8",
12-
"regenerated": "2021-03-03 15:21:42.465348",
13-
"spec_repo_commit": "0de7e0c"
12+
"regenerated": "2021-03-05 09:33:46.163813",
13+
"spec_repo_commit": "aad6dbb"
1414
}
1515
}
1616
}

.openapi-generator/FILES

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,15 @@ datadog_api_client/v2/model/logs_sort.py
191191
datadog_api_client/v2/model/logs_sort_order.py
192192
datadog_api_client/v2/model/logs_warning.py
193193
datadog_api_client/v2/model/metric.py
194+
datadog_api_client/v2/model/metric_all_tags.py
195+
datadog_api_client/v2/model/metric_all_tags_attributes.py
196+
datadog_api_client/v2/model/metric_all_tags_response.py
197+
datadog_api_client/v2/model/metric_distinct_volume.py
198+
datadog_api_client/v2/model/metric_distinct_volume_attributes.py
199+
datadog_api_client/v2/model/metric_distinct_volume_type.py
200+
datadog_api_client/v2/model/metric_ingested_indexed_volume.py
201+
datadog_api_client/v2/model/metric_ingested_indexed_volume_attributes.py
202+
datadog_api_client/v2/model/metric_ingested_indexed_volume_type.py
194203
datadog_api_client/v2/model/metric_tag_configuration.py
195204
datadog_api_client/v2/model/metric_tag_configuration_attributes.py
196205
datadog_api_client/v2/model/metric_tag_configuration_create_attributes.py
@@ -203,6 +212,8 @@ datadog_api_client/v2/model/metric_tag_configuration_update_attributes.py
203212
datadog_api_client/v2/model/metric_tag_configuration_update_data.py
204213
datadog_api_client/v2/model/metric_tag_configuration_update_request.py
205214
datadog_api_client/v2/model/metric_type.py
215+
datadog_api_client/v2/model/metric_volumes.py
216+
datadog_api_client/v2/model/metric_volumes_response.py
206217
datadog_api_client/v2/model/metrics_and_metric_tag_configurations.py
207218
datadog_api_client/v2/model/metrics_and_metric_tag_configurations_response.py
208219
datadog_api_client/v2/model/organization.py
@@ -495,6 +506,15 @@ docs/LogsSort.md
495506
docs/LogsSortOrder.md
496507
docs/LogsWarning.md
497508
docs/Metric.md
509+
docs/MetricAllTags.md
510+
docs/MetricAllTagsAttributes.md
511+
docs/MetricAllTagsResponse.md
512+
docs/MetricDistinctVolume.md
513+
docs/MetricDistinctVolumeAttributes.md
514+
docs/MetricDistinctVolumeType.md
515+
docs/MetricIngestedIndexedVolume.md
516+
docs/MetricIngestedIndexedVolumeAttributes.md
517+
docs/MetricIngestedIndexedVolumeType.md
498518
docs/MetricTagConfiguration.md
499519
docs/MetricTagConfigurationAttributes.md
500520
docs/MetricTagConfigurationCreateAttributes.md
@@ -507,6 +527,8 @@ docs/MetricTagConfigurationUpdateAttributes.md
507527
docs/MetricTagConfigurationUpdateData.md
508528
docs/MetricTagConfigurationUpdateRequest.md
509529
docs/MetricType.md
530+
docs/MetricVolumes.md
531+
docs/MetricVolumesResponse.md
510532
docs/MetricsAndMetricTagConfigurations.md
511533
docs/MetricsAndMetricTagConfigurationsResponse.md
512534
docs/MetricsApi.md
@@ -801,6 +823,15 @@ test/test_logs_sort.py
801823
test/test_logs_sort_order.py
802824
test/test_logs_warning.py
803825
test/test_metric.py
826+
test/test_metric_all_tags.py
827+
test/test_metric_all_tags_attributes.py
828+
test/test_metric_all_tags_response.py
829+
test/test_metric_distinct_volume.py
830+
test/test_metric_distinct_volume_attributes.py
831+
test/test_metric_distinct_volume_type.py
832+
test/test_metric_ingested_indexed_volume.py
833+
test/test_metric_ingested_indexed_volume_attributes.py
834+
test/test_metric_ingested_indexed_volume_type.py
804835
test/test_metric_tag_configuration.py
805836
test/test_metric_tag_configuration_attributes.py
806837
test/test_metric_tag_configuration_create_attributes.py
@@ -813,6 +844,8 @@ test/test_metric_tag_configuration_update_attributes.py
813844
test/test_metric_tag_configuration_update_data.py
814845
test/test_metric_tag_configuration_update_request.py
815846
test/test_metric_type.py
847+
test/test_metric_volumes.py
848+
test/test_metric_volumes_response.py
816849
test/test_metrics_and_metric_tag_configurations.py
817850
test/test_metrics_and_metric_tag_configurations_response.py
818851
test/test_metrics_api.py

docs/v2/MetricAllTags.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# MetricAllTags
2+
3+
Object for a single metric's indexed tags.
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**attributes** | [**MetricAllTagsAttributes**](MetricAllTagsAttributes.md) | | [optional]
8+
**id** | **str** | The metric name for this resource. | [optional]
9+
**type** | [**MetricType**](MetricType.md) | | [optional]
10+
11+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
12+
13+

docs/v2/MetricAllTagsAttributes.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# MetricAllTagsAttributes
2+
3+
Object containing the definition of a metric's tags.
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**tags** | **[str]** | List of indexed tag value pairs. | [optional]
8+
9+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
10+
11+

docs/v2/MetricAllTagsResponse.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# MetricAllTagsResponse
2+
3+
Response object that includes a single metric's indexed tags.
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**data** | [**MetricAllTags**](MetricAllTags.md) | | [optional]
8+
9+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
10+
11+

docs/v2/MetricDistinctVolume.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# MetricDistinctVolume
2+
3+
Object for a single metric's distinct volume.
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**attributes** | [**MetricDistinctVolumeAttributes**](MetricDistinctVolumeAttributes.md) | | [optional]
8+
**id** | **str** | The metric name for this resource. | [optional]
9+
**type** | [**MetricDistinctVolumeType**](MetricDistinctVolumeType.md) | | [optional]
10+
11+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
12+
13+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# MetricDistinctVolumeAttributes
2+
3+
Object containing the definition of a metric's distinct volume.
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**distinct_volume** | **int** | Distinct volume for the given metric. | [optional]
8+
9+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
10+
11+

docs/v2/MetricDistinctVolumeType.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# MetricDistinctVolumeType
2+
3+
The metric distinct volume type.
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**value** | **str** | The metric distinct volume type. | defaults to "distinct_metric_volumes", must be one of ["distinct_metric_volumes", ]
8+
9+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
10+
11+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# MetricIngestedIndexedVolume
2+
3+
Object for a single metric's ingested and indexed volume.
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**attributes** | [**MetricIngestedIndexedVolumeAttributes**](MetricIngestedIndexedVolumeAttributes.md) | | [optional]
8+
**id** | **str** | The metric name for this resource. | [optional]
9+
**type** | [**MetricIngestedIndexedVolumeType**](MetricIngestedIndexedVolumeType.md) | | [optional]
10+
11+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
12+
13+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# MetricIngestedIndexedVolumeAttributes
2+
3+
Object containing the definition of a metric's ingested and indexed volume.
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**indexed_volume** | **int** | Indexed volume for the given metric. | [optional]
8+
**ingested_volume** | **int** | Ingested volume for the given metric. | [optional]
9+
10+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
11+
12+

0 commit comments

Comments
 (0)