Skip to content

Add usage type breakdown for error tracking billing dimension #2251

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

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.6.6",
"regenerated": "2024-11-07 20:44:04.743414",
"spec_repo_commit": "efa118f1"
"regenerated": "2024-11-07 21:30:16.749888",
"spec_repo_commit": "66d9d069"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-11-07 20:44:04.761191",
"spec_repo_commit": "efa118f1"
"regenerated": "2024-11-07 21:30:16.767624",
"spec_repo_commit": "66d9d069"
}
}
}
30 changes: 30 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19932,11 +19932,21 @@ components:
over all hours in the current date for all organizations.
format: int64
type: integer
error_tracking_error_events_sum:
description: Shows the sum of all Error Tracking error events over all hours
in the current date for the given org.
format: int64
type: integer
error_tracking_events_sum:
description: Shows the sum of all Error Tracking events over all hours in
the current date for the given org.
format: int64
type: integer
error_tracking_rum_error_events_sum:
description: Shows the sum of all Error Tracking RUM error events over all
hours in the current date for the given org.
format: int64
type: integer
fargate_tasks_count_avg:
description: Shows the high-watermark of all Fargate tasks over all hours
in the current date for all organizations.
Expand Down Expand Up @@ -20688,11 +20698,21 @@ components:
queries over all hours in the current month for the given org.
format: int64
type: integer
error_tracking_error_events_sum:
description: Shows the sum of all Error Tracking error events over all hours
in the current date for the given org.
format: int64
type: integer
error_tracking_events_sum:
description: Shows the sum of all Error Tracking events over all hours in
the current date for the given org.
format: int64
type: integer
error_tracking_rum_error_events_sum:
description: Shows the sum of all Error Tracking RUM error events over all
hours in the current date for the given org.
format: int64
type: integer
fargate_tasks_count_avg:
description: The average task count for Fargate.
format: int64
Expand Down Expand Up @@ -21451,11 +21471,21 @@ components:
description: Shows the last date of usage in the current month for all organizations.
format: date-time
type: string
error_tracking_error_events_agg_sum:
description: Shows the sum of all Error Tracking error events over all hours
in the current month for all organizations.
format: int64
type: integer
error_tracking_events_agg_sum:
description: Shows the sum of all Error Tracking events over all hours in
the current months for all organizations.
format: int64
type: integer
error_tracking_rum_error_events_agg_sum:
description: Shows the sum of all Error Tracking RUM error events over all
hours in the current month for all organizations.
format: int64
type: integer
fargate_tasks_count_avg_sum:
description: Shows the average of all Fargate tasks over all hours in the
current month for all organizations.
Expand Down
16 changes: 16 additions & 0 deletions src/datadog_api_client/v1/model/usage_summary_date.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ def openapi_types(_):
"date": (datetime,),
"dbm_host_top99p": (int,),
"dbm_queries_count_avg": (int,),
"error_tracking_error_events_sum": (int,),
"error_tracking_events_sum": (int,),
"error_tracking_rum_error_events_sum": (int,),
"fargate_tasks_count_avg": (int,),
"fargate_tasks_count_hwm": (int,),
"flex_logs_compute_large_avg": (int,),
Expand Down Expand Up @@ -221,7 +223,9 @@ def openapi_types(_):
"date": "date",
"dbm_host_top99p": "dbm_host_top99p",
"dbm_queries_count_avg": "dbm_queries_count_avg",
"error_tracking_error_events_sum": "error_tracking_error_events_sum",
"error_tracking_events_sum": "error_tracking_events_sum",
"error_tracking_rum_error_events_sum": "error_tracking_rum_error_events_sum",
"fargate_tasks_count_avg": "fargate_tasks_count_avg",
"fargate_tasks_count_hwm": "fargate_tasks_count_hwm",
"flex_logs_compute_large_avg": "flex_logs_compute_large_avg",
Expand Down Expand Up @@ -362,7 +366,9 @@ def __init__(
date: Union[datetime, UnsetType] = unset,
dbm_host_top99p: Union[int, UnsetType] = unset,
dbm_queries_count_avg: Union[int, UnsetType] = unset,
error_tracking_error_events_sum: Union[int, UnsetType] = unset,
error_tracking_events_sum: Union[int, UnsetType] = unset,
error_tracking_rum_error_events_sum: Union[int, UnsetType] = unset,
fargate_tasks_count_avg: Union[int, UnsetType] = unset,
fargate_tasks_count_hwm: Union[int, UnsetType] = unset,
flex_logs_compute_large_avg: Union[int, UnsetType] = unset,
Expand Down Expand Up @@ -618,9 +624,15 @@ def __init__(
:param dbm_queries_count_avg: Shows the average of all normalized Database Monitoring queries over all hours in the current date for all organizations.
:type dbm_queries_count_avg: int, optional

:param error_tracking_error_events_sum: Shows the sum of all Error Tracking error events over all hours in the current date for the given org.
:type error_tracking_error_events_sum: int, optional

:param error_tracking_events_sum: Shows the sum of all Error Tracking events over all hours in the current date for the given org.
:type error_tracking_events_sum: int, optional

:param error_tracking_rum_error_events_sum: Shows the sum of all Error Tracking RUM error events over all hours in the current date for the given org.
:type error_tracking_rum_error_events_sum: int, optional

:param fargate_tasks_count_avg: Shows the high-watermark of all Fargate tasks over all hours in the current date for all organizations.
:type fargate_tasks_count_avg: int, optional

Expand Down Expand Up @@ -974,8 +986,12 @@ def __init__(
kwargs["dbm_host_top99p"] = dbm_host_top99p
if dbm_queries_count_avg is not unset:
kwargs["dbm_queries_count_avg"] = dbm_queries_count_avg
if error_tracking_error_events_sum is not unset:
kwargs["error_tracking_error_events_sum"] = error_tracking_error_events_sum
if error_tracking_events_sum is not unset:
kwargs["error_tracking_events_sum"] = error_tracking_events_sum
if error_tracking_rum_error_events_sum is not unset:
kwargs["error_tracking_rum_error_events_sum"] = error_tracking_rum_error_events_sum
if fargate_tasks_count_avg is not unset:
kwargs["fargate_tasks_count_avg"] = fargate_tasks_count_avg
if fargate_tasks_count_hwm is not unset:
Expand Down
16 changes: 16 additions & 0 deletions src/datadog_api_client/v1/model/usage_summary_date_org.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ def openapi_types(_):
"data_jobs_monitoring_host_hr_sum": (int,),
"dbm_host_top99p_sum": (int,),
"dbm_queries_avg_sum": (int,),
"error_tracking_error_events_sum": (int,),
"error_tracking_events_sum": (int,),
"error_tracking_rum_error_events_sum": (int,),
"fargate_tasks_count_avg": (int,),
"fargate_tasks_count_hwm": (int,),
"flex_logs_compute_large_avg": (int,),
Expand Down Expand Up @@ -223,7 +225,9 @@ def openapi_types(_):
"data_jobs_monitoring_host_hr_sum": "data_jobs_monitoring_host_hr_sum",
"dbm_host_top99p_sum": "dbm_host_top99p_sum",
"dbm_queries_avg_sum": "dbm_queries_avg_sum",
"error_tracking_error_events_sum": "error_tracking_error_events_sum",
"error_tracking_events_sum": "error_tracking_events_sum",
"error_tracking_rum_error_events_sum": "error_tracking_rum_error_events_sum",
"fargate_tasks_count_avg": "fargate_tasks_count_avg",
"fargate_tasks_count_hwm": "fargate_tasks_count_hwm",
"flex_logs_compute_large_avg": "flex_logs_compute_large_avg",
Expand Down Expand Up @@ -370,7 +374,9 @@ def __init__(
data_jobs_monitoring_host_hr_sum: Union[int, UnsetType] = unset,
dbm_host_top99p_sum: Union[int, UnsetType] = unset,
dbm_queries_avg_sum: Union[int, UnsetType] = unset,
error_tracking_error_events_sum: Union[int, UnsetType] = unset,
error_tracking_events_sum: Union[int, UnsetType] = unset,
error_tracking_rum_error_events_sum: Union[int, UnsetType] = unset,
fargate_tasks_count_avg: Union[int, UnsetType] = unset,
fargate_tasks_count_hwm: Union[int, UnsetType] = unset,
flex_logs_compute_large_avg: Union[int, UnsetType] = unset,
Expand Down Expand Up @@ -638,9 +644,15 @@ def __init__(
:param dbm_queries_avg_sum: Shows the average of all distinct Database Monitoring normalized queries over all hours in the current month for the given org.
:type dbm_queries_avg_sum: int, optional

:param error_tracking_error_events_sum: Shows the sum of all Error Tracking error events over all hours in the current date for the given org.
:type error_tracking_error_events_sum: int, optional

:param error_tracking_events_sum: Shows the sum of all Error Tracking events over all hours in the current date for the given org.
:type error_tracking_events_sum: int, optional

:param error_tracking_rum_error_events_sum: Shows the sum of all Error Tracking RUM error events over all hours in the current date for the given org.
:type error_tracking_rum_error_events_sum: int, optional

:param fargate_tasks_count_avg: The average task count for Fargate.
:type fargate_tasks_count_avg: int, optional

Expand Down Expand Up @@ -1009,8 +1021,12 @@ def __init__(
kwargs["dbm_host_top99p_sum"] = dbm_host_top99p_sum
if dbm_queries_avg_sum is not unset:
kwargs["dbm_queries_avg_sum"] = dbm_queries_avg_sum
if error_tracking_error_events_sum is not unset:
kwargs["error_tracking_error_events_sum"] = error_tracking_error_events_sum
if error_tracking_events_sum is not unset:
kwargs["error_tracking_events_sum"] = error_tracking_events_sum
if error_tracking_rum_error_events_sum is not unset:
kwargs["error_tracking_rum_error_events_sum"] = error_tracking_rum_error_events_sum
if fargate_tasks_count_avg is not unset:
kwargs["fargate_tasks_count_avg"] = fargate_tasks_count_avg
if fargate_tasks_count_hwm is not unset:
Expand Down
16 changes: 16 additions & 0 deletions src/datadog_api_client/v1/model/usage_summary_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ def openapi_types(_):
"dbm_host_top99p_sum": (int,),
"dbm_queries_avg_sum": (int,),
"end_date": (datetime,),
"error_tracking_error_events_agg_sum": (int,),
"error_tracking_events_agg_sum": (int,),
"error_tracking_rum_error_events_agg_sum": (int,),
"fargate_tasks_count_avg_sum": (int,),
"fargate_tasks_count_hwm_sum": (int,),
"flex_logs_compute_large_avg_sum": (int,),
Expand Down Expand Up @@ -237,7 +239,9 @@ def openapi_types(_):
"dbm_host_top99p_sum": "dbm_host_top99p_sum",
"dbm_queries_avg_sum": "dbm_queries_avg_sum",
"end_date": "end_date",
"error_tracking_error_events_agg_sum": "error_tracking_error_events_agg_sum",
"error_tracking_events_agg_sum": "error_tracking_events_agg_sum",
"error_tracking_rum_error_events_agg_sum": "error_tracking_rum_error_events_agg_sum",
"fargate_tasks_count_avg_sum": "fargate_tasks_count_avg_sum",
"fargate_tasks_count_hwm_sum": "fargate_tasks_count_hwm_sum",
"flex_logs_compute_large_avg_sum": "flex_logs_compute_large_avg_sum",
Expand Down Expand Up @@ -389,7 +393,9 @@ def __init__(
dbm_host_top99p_sum: Union[int, UnsetType] = unset,
dbm_queries_avg_sum: Union[int, UnsetType] = unset,
end_date: Union[datetime, UnsetType] = unset,
error_tracking_error_events_agg_sum: Union[int, UnsetType] = unset,
error_tracking_events_agg_sum: Union[int, UnsetType] = unset,
error_tracking_rum_error_events_agg_sum: Union[int, UnsetType] = unset,
fargate_tasks_count_avg_sum: Union[int, UnsetType] = unset,
fargate_tasks_count_hwm_sum: Union[int, UnsetType] = unset,
flex_logs_compute_large_avg_sum: Union[int, UnsetType] = unset,
Expand Down Expand Up @@ -662,9 +668,15 @@ def __init__(
:param end_date: Shows the last date of usage in the current month for all organizations.
:type end_date: datetime, optional

:param error_tracking_error_events_agg_sum: Shows the sum of all Error Tracking error events over all hours in the current month for all organizations.
:type error_tracking_error_events_agg_sum: int, optional

:param error_tracking_events_agg_sum: Shows the sum of all Error Tracking events over all hours in the current months for all organizations.
:type error_tracking_events_agg_sum: int, optional

:param error_tracking_rum_error_events_agg_sum: Shows the sum of all Error Tracking RUM error events over all hours in the current month for all organizations.
:type error_tracking_rum_error_events_agg_sum: int, optional

:param fargate_tasks_count_avg_sum: Shows the average of all Fargate tasks over all hours in the current month for all organizations.
:type fargate_tasks_count_avg_sum: int, optional

Expand Down Expand Up @@ -1050,8 +1062,12 @@ def __init__(
kwargs["dbm_queries_avg_sum"] = dbm_queries_avg_sum
if end_date is not unset:
kwargs["end_date"] = end_date
if error_tracking_error_events_agg_sum is not unset:
kwargs["error_tracking_error_events_agg_sum"] = error_tracking_error_events_agg_sum
if error_tracking_events_agg_sum is not unset:
kwargs["error_tracking_events_agg_sum"] = error_tracking_events_agg_sum
if error_tracking_rum_error_events_agg_sum is not unset:
kwargs["error_tracking_rum_error_events_agg_sum"] = error_tracking_rum_error_events_agg_sum
if fargate_tasks_count_avg_sum is not unset:
kwargs["fargate_tasks_count_avg_sum"] = fargate_tasks_count_avg_sum
if fargate_tasks_count_hwm_sum is not unset:
Expand Down
Loading