Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add v2 metric tags and metric volumes endpoints #769

Merged
merged 24 commits into from
Mar 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
c2ba27b
cassettes
jirikuncar Feb 25, 2021
c3a61cd
Merge branch 'master' into datadog-api-spec/test/eric.fraese/PA-140
api-clients-generation-pipeline[bot] Feb 25, 2021
ea74e87
Merge branch 'master' into datadog-api-spec/test/eric.fraese/PA-140
api-clients-generation-pipeline[bot] Mar 1, 2021
ac07503
Merge branch 'master' into datadog-api-spec/test/eric.fraese/PA-140
api-clients-generation-pipeline[bot] Mar 1, 2021
d36e139
Merge branch 'master' into datadog-api-spec/test/eric.fraese/PA-140
api-clients-generation-pipeline[bot] Mar 1, 2021
ee81a11
updated cassettes
efraese Mar 2, 2021
8fff3de
Merge branch 'master' into datadog-api-spec/test/eric.fraese/PA-140
api-clients-generation-pipeline[bot] Mar 2, 2021
cfbdb95
Merge branch 'master' into datadog-api-spec/test/eric.fraese/PA-140
api-clients-generation-pipeline[bot] Mar 2, 2021
9bc88a2
Merge branch 'master' into datadog-api-spec/test/eric.fraese/PA-140
api-clients-generation-pipeline[bot] Mar 3, 2021
ae6bd4b
Merge branch 'master' into datadog-api-spec/test/eric.fraese/PA-140
api-clients-generation-pipeline[bot] Mar 3, 2021
be19eee
updated cassettes
efraese Mar 3, 2021
90cc3d5
Merge branch 'master' into datadog-api-spec/test/eric.fraese/PA-140
api-clients-generation-pipeline[bot] Mar 3, 2021
4b47b2f
renamed cassettes
efraese Mar 3, 2021
75328ae
Merge branch 'datadog-api-spec/test/eric.fraese/PA-140' of github.com…
efraese Mar 3, 2021
300956c
Merge branch 'master' into datadog-api-spec/test/eric.fraese/PA-140
api-clients-generation-pipeline[bot] Mar 3, 2021
bec5732
Merge branch 'master' into datadog-api-spec/test/eric.fraese/PA-140
api-clients-generation-pipeline[bot] Mar 3, 2021
677ff91
Merge branch 'master' into datadog-api-spec/test/eric.fraese/PA-140
api-clients-generation-pipeline[bot] Mar 3, 2021
0fe8482
Merge branch 'master' into datadog-api-spec/test/eric.fraese/PA-140
api-clients-generation-pipeline[bot] Mar 3, 2021
3632399
Merge branch 'master' into datadog-api-spec/test/eric.fraese/PA-140
api-clients-generation-pipeline[bot] Mar 4, 2021
2d1e7bd
Merge branch 'master' into datadog-api-spec/test/eric.fraese/PA-140
api-clients-generation-pipeline[bot] Mar 4, 2021
7fad91b
Merge branch 'master' into datadog-api-spec/test/eric.fraese/PA-140
api-clients-generation-pipeline[bot] Mar 4, 2021
acc29d9
Merge branch 'master' into datadog-api-spec/test/eric.fraese/PA-140
api-clients-generation-pipeline[bot] Mar 4, 2021
f8492f6
Merge branch 'master' into datadog-api-spec/test/eric.fraese/PA-140
api-clients-generation-pipeline[bot] Mar 5, 2021
b006e90
Regenerate client from commit aad6dbb of spec repo
Mar 5, 2021
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-03 18:25:24.234427",
"spec_repo_commit": "aeacb86"
"regenerated": "2021-03-05 09:32:10.424857",
"spec_repo_commit": "aad6dbb"
},
"v2": {
"apigentools_version": "1.4.1.dev8",
"regenerated": "2021-03-03 18:25:32.031708",
"spec_repo_commit": "aeacb86"
"regenerated": "2021-03-05 09:32:18.202006",
"spec_repo_commit": "aad6dbb"
}
}
}
1 change: 1 addition & 0 deletions api/v1/datadog/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ tags:
- Post metrics data so it can be graphed on Datadog’s dashboards
- Query metrics from any time period
- Modify tag configurations for metrics
- View tags and volumes for metrics

**Note**: A graph can only contain a set number of points
and as the timeframe over which a metric is viewed increases,
Expand Down
22 changes: 22 additions & 0 deletions api/v2/datadog/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,15 @@ docs/LogsSort.md
docs/LogsSortOrder.md
docs/LogsWarning.md
docs/Metric.md
docs/MetricAllTags.md
docs/MetricAllTagsAttributes.md
docs/MetricAllTagsResponse.md
docs/MetricDistinctVolume.md
docs/MetricDistinctVolumeAttributes.md
docs/MetricDistinctVolumeType.md
docs/MetricIngestedIndexedVolume.md
docs/MetricIngestedIndexedVolumeAttributes.md
docs/MetricIngestedIndexedVolumeType.md
docs/MetricTagConfiguration.md
docs/MetricTagConfigurationAttributes.md
docs/MetricTagConfigurationCreateAttributes.md
Expand All @@ -209,6 +218,8 @@ docs/MetricTagConfigurationUpdateAttributes.md
docs/MetricTagConfigurationUpdateData.md
docs/MetricTagConfigurationUpdateRequest.md
docs/MetricType.md
docs/MetricVolumes.md
docs/MetricVolumesResponse.md
docs/MetricsAndMetricTagConfigurations.md
docs/MetricsAndMetricTagConfigurationsResponse.md
docs/MetricsApi.md
Expand Down Expand Up @@ -497,6 +508,15 @@ model_logs_sort.go
model_logs_sort_order.go
model_logs_warning.go
model_metric.go
model_metric_all_tags.go
model_metric_all_tags_attributes.go
model_metric_all_tags_response.go
model_metric_distinct_volume.go
model_metric_distinct_volume_attributes.go
model_metric_distinct_volume_type.go
model_metric_ingested_indexed_volume.go
model_metric_ingested_indexed_volume_attributes.go
model_metric_ingested_indexed_volume_type.go
model_metric_tag_configuration.go
model_metric_tag_configuration_attributes.go
model_metric_tag_configuration_create_attributes.go
Expand All @@ -509,6 +529,8 @@ model_metric_tag_configuration_update_attributes.go
model_metric_tag_configuration_update_data.go
model_metric_tag_configuration_update_request.go
model_metric_type.go
model_metric_volumes.go
model_metric_volumes_response.go
model_metrics_and_metric_tag_configurations.go
model_metrics_and_metric_tag_configurations_response.go
model_organization.go
Expand Down
23 changes: 18 additions & 5 deletions api/v2/datadog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,13 @@ Class | Method | HTTP request | Description
*LogsMetricsApi* | [**GetLogsMetric**](docs/LogsMetricsApi.md#getlogsmetric) | **Get** /api/v2/logs/config/metrics/{metric_id} | Get a log-based metric
*LogsMetricsApi* | [**ListLogsMetrics**](docs/LogsMetricsApi.md#listlogsmetrics) | **Get** /api/v2/logs/config/metrics | Get all log-based metrics
*LogsMetricsApi* | [**UpdateLogsMetric**](docs/LogsMetricsApi.md#updatelogsmetric) | **Patch** /api/v2/logs/config/metrics/{metric_id} | Update a log-based metric
*MetricsApi* | [**CreateTagConfiguration**](docs/MetricsApi.md#createtagconfiguration) | **Post** /api/v2/metrics/{metric_name}/tags | Create a Tag Configuration
*MetricsApi* | [**DeleteTagConfiguration**](docs/MetricsApi.md#deletetagconfiguration) | **Delete** /api/v2/metrics/{metric_name}/tags | Delete a Tag Configuration
*MetricsApi* | [**ListTagConfigurationByName**](docs/MetricsApi.md#listtagconfigurationbyname) | **Get** /api/v2/metrics/{metric_name}/tags | List Tag Configuration by Name
*MetricsApi* | [**ListTagConfigurations**](docs/MetricsApi.md#listtagconfigurations) | **Get** /api/v2/metrics | List Tag Configurations
*MetricsApi* | [**UpdateTagConfiguration**](docs/MetricsApi.md#updatetagconfiguration) | **Patch** /api/v2/metrics/{metric_name}/tags | Update a Tag Configuration
*MetricsApi* | [**CreateTagConfiguration**](docs/MetricsApi.md#createtagconfiguration) | **Post** /api/v2/metrics/{metric_name}/tags | Create a tag configuration
*MetricsApi* | [**DeleteTagConfiguration**](docs/MetricsApi.md#deletetagconfiguration) | **Delete** /api/v2/metrics/{metric_name}/tags | Delete a tag configuration
*MetricsApi* | [**ListTagConfigurationByName**](docs/MetricsApi.md#listtagconfigurationbyname) | **Get** /api/v2/metrics/{metric_name}/tags | List tag configuration by name
*MetricsApi* | [**ListTagConfigurations**](docs/MetricsApi.md#listtagconfigurations) | **Get** /api/v2/metrics | List tag configurations
*MetricsApi* | [**ListTagsByMetricName**](docs/MetricsApi.md#listtagsbymetricname) | **Get** /api/v2/metrics/{metric_name}/all-tags | List tags by metric name
*MetricsApi* | [**ListVolumesByMetricName**](docs/MetricsApi.md#listvolumesbymetricname) | **Get** /api/v2/metrics/{metric_name}/volumes | List distinct metric volumes by metric name
*MetricsApi* | [**UpdateTagConfiguration**](docs/MetricsApi.md#updatetagconfiguration) | **Patch** /api/v2/metrics/{metric_name}/tags | Update a tag configuration
*ProcessesApi* | [**ListProcesses**](docs/ProcessesApi.md#listprocesses) | **Get** /api/v2/processes | Get all processes
*RolesApi* | [**AddPermissionToRole**](docs/RolesApi.md#addpermissiontorole) | **Post** /api/v2/roles/{role_id}/permissions | Grant permission to a role
*RolesApi* | [**AddUserToRole**](docs/RolesApi.md#addusertorole) | **Post** /api/v2/roles/{role_id}/users | Add a user to a role
Expand Down Expand Up @@ -338,6 +340,15 @@ Class | Method | HTTP request | Description
- [LogsSortOrder](docs/LogsSortOrder.md)
- [LogsWarning](docs/LogsWarning.md)
- [Metric](docs/Metric.md)
- [MetricAllTags](docs/MetricAllTags.md)
- [MetricAllTagsAttributes](docs/MetricAllTagsAttributes.md)
- [MetricAllTagsResponse](docs/MetricAllTagsResponse.md)
- [MetricDistinctVolume](docs/MetricDistinctVolume.md)
- [MetricDistinctVolumeAttributes](docs/MetricDistinctVolumeAttributes.md)
- [MetricDistinctVolumeType](docs/MetricDistinctVolumeType.md)
- [MetricIngestedIndexedVolume](docs/MetricIngestedIndexedVolume.md)
- [MetricIngestedIndexedVolumeAttributes](docs/MetricIngestedIndexedVolumeAttributes.md)
- [MetricIngestedIndexedVolumeType](docs/MetricIngestedIndexedVolumeType.md)
- [MetricTagConfiguration](docs/MetricTagConfiguration.md)
- [MetricTagConfigurationAttributes](docs/MetricTagConfigurationAttributes.md)
- [MetricTagConfigurationCreateAttributes](docs/MetricTagConfigurationCreateAttributes.md)
Expand All @@ -350,6 +361,8 @@ Class | Method | HTTP request | Description
- [MetricTagConfigurationUpdateData](docs/MetricTagConfigurationUpdateData.md)
- [MetricTagConfigurationUpdateRequest](docs/MetricTagConfigurationUpdateRequest.md)
- [MetricType](docs/MetricType.md)
- [MetricVolumes](docs/MetricVolumes.md)
- [MetricVolumesResponse](docs/MetricVolumesResponse.md)
- [MetricsAndMetricTagConfigurations](docs/MetricsAndMetricTagConfigurations.md)
- [MetricsAndMetricTagConfigurationsResponse](docs/MetricsAndMetricTagConfigurationsResponse.md)
- [Organization](docs/Organization.md)
Expand Down
Loading