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

Remove deprecated endpoints /api/v1/usage/traces and /api/v1/usage/tracing-without-limits #1038

Merged
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.dev11",
"regenerated": "2021-07-13 13:38:31.140949",
"spec_repo_commit": "beba4a1"
"regenerated": "2021-07-13 14:05:00.829993",
"spec_repo_commit": "6586890"
},
"v2": {
"apigentools_version": "1.4.1.dev11",
"regenerated": "2021-07-13 13:39:02.182025",
"spec_repo_commit": "beba4a1"
"regenerated": "2021-07-13 14:05:31.810546",
"spec_repo_commit": "6586890"
}
}
}
8 changes: 0 additions & 8 deletions api/v1/datadog/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -597,10 +597,6 @@ docs/UsageTimeseriesResponse.md
docs/UsageTopAvgMetricsHour.md
docs/UsageTopAvgMetricsMetadata.md
docs/UsageTopAvgMetricsResponse.md
docs/UsageTraceHour.md
docs/UsageTraceResponse.md
docs/UsageTracingWithoutLimitsHour.md
docs/UsageTracingWithoutLimitsResponse.md
docs/User.md
docs/UserDisableResponse.md
docs/UserListResponse.md
Expand Down Expand Up @@ -1189,10 +1185,6 @@ model_usage_timeseries_response.go
model_usage_top_avg_metrics_hour.go
model_usage_top_avg_metrics_metadata.go
model_usage_top_avg_metrics_response.go
model_usage_trace_hour.go
model_usage_trace_response.go
model_usage_tracing_without_limits_hour.go
model_usage_tracing_without_limits_response.go
model_user.go
model_user_disable_response.go
model_user_list_response.go
Expand Down
6 changes: 0 additions & 6 deletions api/v1/datadog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ Class | Method | HTTP request | Description
*UsageMeteringApi* | [**GetMonthlyCustomReports**](docs/UsageMeteringApi.md#getmonthlycustomreports) | **Get** /api/v1/monthly_custom_reports | Get the list of available monthly custom reports
*UsageMeteringApi* | [**GetSpecifiedDailyCustomReports**](docs/UsageMeteringApi.md#getspecifieddailycustomreports) | **Get** /api/v1/daily_custom_reports/{report_id} | Get specified daily custom reports
*UsageMeteringApi* | [**GetSpecifiedMonthlyCustomReports**](docs/UsageMeteringApi.md#getspecifiedmonthlycustomreports) | **Get** /api/v1/monthly_custom_reports/{report_id} | Get specified monthly custom reports
*UsageMeteringApi* | [**GetTracingWithoutLimits**](docs/UsageMeteringApi.md#gettracingwithoutlimits) | **Get** /api/v1/usage/tracing-without-limits | Get hourly usage for tracing without limits
*UsageMeteringApi* | [**GetUsageAnalyzedLogs**](docs/UsageMeteringApi.md#getusageanalyzedlogs) | **Get** /api/v1/usage/analyzed_logs | Get hourly usage for analyzed logs
*UsageMeteringApi* | [**GetUsageAttribution**](docs/UsageMeteringApi.md#getusageattribution) | **Get** /api/v1/usage/attribution | Get Usage Attribution
*UsageMeteringApi* | [**GetUsageAuditLogs**](docs/UsageMeteringApi.md#getusageauditlogs) | **Get** /api/v1/usage/audit_logs | Get hourly usage for audit logs
Expand All @@ -266,7 +265,6 @@ Class | Method | HTTP request | Description
*UsageMeteringApi* | [**GetUsageSyntheticsBrowser**](docs/UsageMeteringApi.md#getusagesyntheticsbrowser) | **Get** /api/v1/usage/synthetics_browser | Get hourly usage for Synthetics Browser Checks
*UsageMeteringApi* | [**GetUsageTimeseries**](docs/UsageMeteringApi.md#getusagetimeseries) | **Get** /api/v1/usage/timeseries | Get hourly usage for custom metrics
*UsageMeteringApi* | [**GetUsageTopAvgMetrics**](docs/UsageMeteringApi.md#getusagetopavgmetrics) | **Get** /api/v1/usage/top_avg_metrics | Get all custom metrics by hourly average
*UsageMeteringApi* | [**GetUsageTrace**](docs/UsageMeteringApi.md#getusagetrace) | **Get** /api/v1/usage/traces | Get hourly usage for Trace Search
*UsersApi* | [**CreateUser**](docs/UsersApi.md#createuser) | **Post** /api/v1/user | Create a user
*UsersApi* | [**DisableUser**](docs/UsersApi.md#disableuser) | **Delete** /api/v1/user/{user_handle} | Disable a user
*UsersApi* | [**GetUser**](docs/UsersApi.md#getuser) | **Get** /api/v1/user/{user_handle} | Get user details
Expand Down Expand Up @@ -811,10 +809,6 @@ Class | Method | HTTP request | Description
- [UsageTopAvgMetricsHour](docs/UsageTopAvgMetricsHour.md)
- [UsageTopAvgMetricsMetadata](docs/UsageTopAvgMetricsMetadata.md)
- [UsageTopAvgMetricsResponse](docs/UsageTopAvgMetricsResponse.md)
- [UsageTraceHour](docs/UsageTraceHour.md)
- [UsageTraceResponse](docs/UsageTraceResponse.md)
- [UsageTracingWithoutLimitsHour](docs/UsageTracingWithoutLimitsHour.md)
- [UsageTracingWithoutLimitsResponse](docs/UsageTracingWithoutLimitsResponse.md)
- [User](docs/User.md)
- [UserDisableResponse](docs/UserDisableResponse.md)
- [UserListResponse](docs/UserListResponse.md)
Expand Down
173 changes: 0 additions & 173 deletions api/v1/datadog/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9248,115 +9248,6 @@ paths:
x-menu-order: 5
x-undo:
type: safe
/api/v1/usage/traces:
get:
deprecated: true
description: |-
Get hourly usage for trace search.

**Note** This endpoint has been renamed to `/api/v1/usage/indexed-spans`.
operationId: GetUsageTrace
parameters:
- description: 'Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage beginning at this hour.'
explode: true
in: query
name: start_hr
required: true
schema:
format: date-time
type: string
style: form
- description: 'Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage ending **before** this hour.'
explode: true
in: query
name: end_hr
required: false
schema:
format: date-time
type: string
style: form
responses:
"200":
content:
application/json;datetime-format=rfc3339:
schema:
$ref: '#/components/schemas/UsageTraceResponse'
description: OK
"400":
content:
application/json;datetime-format=rfc3339:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Bad Request
"403":
content:
application/json;datetime-format=rfc3339:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Forbidden - User is not authorized
summary: Get hourly usage for Trace Search
tags:
- Usage Metering
x-menu-order: 6
x-undo:
type: safe
/api/v1/usage/tracing-without-limits:
get:
deprecated: true
description: |-
Get hourly usage for tracing without limits.

**Note** This endpoint has been renamed to `/api/v1/usage/ingested-spans`.
operationId: GetTracingWithoutLimits
parameters:
- description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]`
for usage beginning at this hour.'
explode: true
in: query
name: start_hr
required: true
schema:
format: date-time
type: string
style: form
- description: |-
Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending
**before** this hour.
explode: true
in: query
name: end_hr
required: false
schema:
format: date-time
type: string
style: form
responses:
"200":
content:
application/json;datetime-format=rfc3339:
schema:
$ref: '#/components/schemas/UsageTracingWithoutLimitsResponse'
description: OK
"400":
content:
application/json;datetime-format=rfc3339:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Bad Request
"403":
content:
application/json;datetime-format=rfc3339:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Forbidden - User is not authorized
summary: Get hourly usage for tracing without limits
tags:
- Usage Metering
x-menu-order: 25
x-undo:
type: safe
/api/v1/user:
get:
description: List all users for your organization.
Expand Down Expand Up @@ -27449,70 +27340,6 @@ components:
$ref: '#/components/schemas/UsageTopAvgMetricsHour'
type: array
type: object
UsageTraceHour:
description: The hours of trace usage.
example:
indexed_events_count: 0
hour: 2000-01-23T04:56:07.000+00:00
properties:
hour:
description: The hour for the usage.
format: date-time
type: string
indexed_events_count:
description: Contains the number of Indexed Spans indexed.
format: int64
type: integer
type: object
UsageTraceResponse:
description: A response containing trace usage.
example:
usage:
- indexed_events_count: 0
hour: 2000-01-23T04:56:07.000+00:00
- indexed_events_count: 0
hour: 2000-01-23T04:56:07.000+00:00
properties:
usage:
description: Array with the number of hourly traces indexed for a given
organization.
items:
$ref: '#/components/schemas/UsageTraceHour'
type: array
type: object
UsageTracingWithoutLimitsHour:
description: Tracing without limits usage for a given organization for a given
hour.
example:
hour: 2000-01-23T04:56:07.000+00:00
ingested_events_bytes: 0
properties:
hour:
description: The hour for the usage.
format: date-time
type: string
ingested_events_bytes:
description: Contains the total number of bytes ingested during a given
hour.
format: int64
type: integer
type: object
UsageTracingWithoutLimitsResponse:
description: Response containing the tracing without limits usage for each hour
for a given organization.
example:
usage:
- hour: 2000-01-23T04:56:07.000+00:00
ingested_events_bytes: 0
- hour: 2000-01-23T04:56:07.000+00:00
ingested_events_bytes: 0
properties:
usage:
description: Get hourly usage for tracing without limits.
items:
$ref: '#/components/schemas/UsageTracingWithoutLimitsHour'
type: array
type: object
User:
description: Create, edit, and disable users.
example:
Expand Down
Loading