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 ASM serverless to usage metering API docs #2393

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-02-21 20:20:25.985401",
"spec_repo_commit": "90ae1ed9"
"regenerated": "2024-02-21 21:43:29.847792",
"spec_repo_commit": "ea7f4c9f"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-02-21 20:20:26.004198",
"spec_repo_commit": "90ae1ed9"
"regenerated": "2024-02-21 21:43:29.862456",
"spec_repo_commit": "ea7f4c9f"
}
}
}
23 changes: 23 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16870,6 +16870,8 @@ components:
- appsec_fargate_percentage
- estimated_rum_usage_attribution_usage
- estimated_rum_usage_attribution_percentage
- asm_serverless_traced_invocations_usage
- asm_serverless_traced_invocations_percentage
type: string
x-enum-varnames:
- API_PERCENTAGE
Expand Down Expand Up @@ -16908,6 +16910,8 @@ components:
- APPSEC_FARGATE_PERCENTAGE
- ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE
- ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE
- ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE
- ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE
UsageAttributionSupportedMetrics:
description: Supported fields for usage attribution requests (valid requests
contain one or more metrics, or `*` for all).
Expand Down Expand Up @@ -16958,6 +16962,8 @@ components:
- appsec_fargate_percentage
- estimated_rum_usage_attribution_usage
- estimated_rum_usage_attribution_percentage
- asm_serverless_traced_invocations_usage
- asm_serverless_traced_invocations_percentage
- '*'
type: string
x-enum-varnames:
Expand Down Expand Up @@ -17007,6 +17013,8 @@ components:
- APPSEC_FARGATE_PERCENTAGE
- ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE
- ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE
- ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE
- ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE
- ALL
UsageAttributionTagNames:
additionalProperties:
Expand Down Expand Up @@ -18717,6 +18725,11 @@ components:
Fargate tasks over all hours in the current date for all organizations.
format: int64
type: integer
asm_serverless_sum:
description: Shows the sum of all Application Security Monitoring Serverless
invocations over all hours in the current date for all organizations.
format: int64
type: integer
audit_logs_lines_indexed_sum:
deprecated: true
description: Shows the sum of audit logs lines indexed over all hours in
Expand Down Expand Up @@ -19247,6 +19260,11 @@ components:
Fargate tasks over all hours in the current months for the given org.
format: int64
type: integer
asm_serverless_sum:
description: Shows the sum of all Application Security Monitoring Serverless
invocations over all hours in the current month for the given org.
format: int64
type: integer
audit_logs_lines_indexed_sum:
deprecated: true
description: Shows the sum of all audit logs lines indexed over all hours
Expand Down Expand Up @@ -19790,6 +19808,11 @@ components:
Fargate tasks over all hours in the current months for all organizations.
format: int64
type: integer
asm_serverless_agg_sum:
description: Shows the sum of all Application Security Monitoring Serverless
invocations over all hours in the current months for all organizations.
format: int64
type: integer
audit_logs_lines_indexed_agg_sum:
deprecated: true
description: Shows the sum of all audit logs lines indexed over all hours
Expand Down
76 changes: 40 additions & 36 deletions api/datadogV1/model_usage_attribution_sort.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,42 +15,44 @@ type UsageAttributionSort string

// List of UsageAttributionSort.
const (
USAGEATTRIBUTIONSORT_API_PERCENTAGE UsageAttributionSort = "api_percentage"
USAGEATTRIBUTIONSORT_SNMP_USAGE UsageAttributionSort = "snmp_usage"
USAGEATTRIBUTIONSORT_APM_HOST_USAGE UsageAttributionSort = "apm_host_usage"
USAGEATTRIBUTIONSORT_API_USAGE UsageAttributionSort = "api_usage"
USAGEATTRIBUTIONSORT_APPSEC_USAGE UsageAttributionSort = "appsec_usage"
USAGEATTRIBUTIONSORT_APPSEC_PERCENTAGE UsageAttributionSort = "appsec_percentage"
USAGEATTRIBUTIONSORT_CONTAINER_USAGE UsageAttributionSort = "container_usage"
USAGEATTRIBUTIONSORT_CUSTOM_TIMESERIES_PERCENTAGE UsageAttributionSort = "custom_timeseries_percentage"
USAGEATTRIBUTIONSORT_CONTAINER_PERCENTAGE UsageAttributionSort = "container_percentage"
USAGEATTRIBUTIONSORT_APM_HOST_PERCENTAGE UsageAttributionSort = "apm_host_percentage"
USAGEATTRIBUTIONSORT_NPM_HOST_PERCENTAGE UsageAttributionSort = "npm_host_percentage"
USAGEATTRIBUTIONSORT_BROWSER_PERCENTAGE UsageAttributionSort = "browser_percentage"
USAGEATTRIBUTIONSORT_BROWSER_USAGE UsageAttributionSort = "browser_usage"
USAGEATTRIBUTIONSORT_INFRA_HOST_PERCENTAGE UsageAttributionSort = "infra_host_percentage"
USAGEATTRIBUTIONSORT_SNMP_PERCENTAGE UsageAttributionSort = "snmp_percentage"
USAGEATTRIBUTIONSORT_NPM_HOST_USAGE UsageAttributionSort = "npm_host_usage"
USAGEATTRIBUTIONSORT_INFRA_HOST_USAGE UsageAttributionSort = "infra_host_usage"
USAGEATTRIBUTIONSORT_CUSTOM_TIMESERIES_USAGE UsageAttributionSort = "custom_timeseries_usage"
USAGEATTRIBUTIONSORT_LAMBDA_FUNCTIONS_USAGE UsageAttributionSort = "lambda_functions_usage"
USAGEATTRIBUTIONSORT_LAMBDA_FUNCTIONS_PERCENTAGE UsageAttributionSort = "lambda_functions_percentage"
USAGEATTRIBUTIONSORT_LAMBDA_INVOCATIONS_USAGE UsageAttributionSort = "lambda_invocations_usage"
USAGEATTRIBUTIONSORT_LAMBDA_INVOCATIONS_PERCENTAGE UsageAttributionSort = "lambda_invocations_percentage"
USAGEATTRIBUTIONSORT_ESTIMATED_INDEXED_LOGS_USAGE UsageAttributionSort = "estimated_indexed_logs_usage"
USAGEATTRIBUTIONSORT_ESTIMATED_INDEXED_LOGS_PERCENTAGE UsageAttributionSort = "estimated_indexed_logs_percentage"
USAGEATTRIBUTIONSORT_ESTIMATED_INGESTED_LOGS_USAGE UsageAttributionSort = "estimated_ingested_logs_usage"
USAGEATTRIBUTIONSORT_ESTIMATED_INGESTED_LOGS_PERCENTAGE UsageAttributionSort = "estimated_ingested_logs_percentage"
USAGEATTRIBUTIONSORT_ESTIMATED_INDEXED_SPANS_USAGE UsageAttributionSort = "estimated_indexed_spans_usage"
USAGEATTRIBUTIONSORT_ESTIMATED_INDEXED_SPANS_PERCENTAGE UsageAttributionSort = "estimated_indexed_spans_percentage"
USAGEATTRIBUTIONSORT_ESTIMATED_INGESTED_SPANS_USAGE UsageAttributionSort = "estimated_ingested_spans_usage"
USAGEATTRIBUTIONSORT_ESTIMATED_INGESTED_SPANS_PERCENTAGE UsageAttributionSort = "estimated_ingested_spans_percentage"
USAGEATTRIBUTIONSORT_APM_FARGATE_USAGE UsageAttributionSort = "apm_fargate_usage"
USAGEATTRIBUTIONSORT_APM_FARGATE_PERCENTAGE UsageAttributionSort = "apm_fargate_percentage"
USAGEATTRIBUTIONSORT_APPSEC_FARGATE_USAGE UsageAttributionSort = "appsec_fargate_usage"
USAGEATTRIBUTIONSORT_APPSEC_FARGATE_PERCENTAGE UsageAttributionSort = "appsec_fargate_percentage"
USAGEATTRIBUTIONSORT_ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE UsageAttributionSort = "estimated_rum_usage_attribution_usage"
USAGEATTRIBUTIONSORT_ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE UsageAttributionSort = "estimated_rum_usage_attribution_percentage"
USAGEATTRIBUTIONSORT_API_PERCENTAGE UsageAttributionSort = "api_percentage"
USAGEATTRIBUTIONSORT_SNMP_USAGE UsageAttributionSort = "snmp_usage"
USAGEATTRIBUTIONSORT_APM_HOST_USAGE UsageAttributionSort = "apm_host_usage"
USAGEATTRIBUTIONSORT_API_USAGE UsageAttributionSort = "api_usage"
USAGEATTRIBUTIONSORT_APPSEC_USAGE UsageAttributionSort = "appsec_usage"
USAGEATTRIBUTIONSORT_APPSEC_PERCENTAGE UsageAttributionSort = "appsec_percentage"
USAGEATTRIBUTIONSORT_CONTAINER_USAGE UsageAttributionSort = "container_usage"
USAGEATTRIBUTIONSORT_CUSTOM_TIMESERIES_PERCENTAGE UsageAttributionSort = "custom_timeseries_percentage"
USAGEATTRIBUTIONSORT_CONTAINER_PERCENTAGE UsageAttributionSort = "container_percentage"
USAGEATTRIBUTIONSORT_APM_HOST_PERCENTAGE UsageAttributionSort = "apm_host_percentage"
USAGEATTRIBUTIONSORT_NPM_HOST_PERCENTAGE UsageAttributionSort = "npm_host_percentage"
USAGEATTRIBUTIONSORT_BROWSER_PERCENTAGE UsageAttributionSort = "browser_percentage"
USAGEATTRIBUTIONSORT_BROWSER_USAGE UsageAttributionSort = "browser_usage"
USAGEATTRIBUTIONSORT_INFRA_HOST_PERCENTAGE UsageAttributionSort = "infra_host_percentage"
USAGEATTRIBUTIONSORT_SNMP_PERCENTAGE UsageAttributionSort = "snmp_percentage"
USAGEATTRIBUTIONSORT_NPM_HOST_USAGE UsageAttributionSort = "npm_host_usage"
USAGEATTRIBUTIONSORT_INFRA_HOST_USAGE UsageAttributionSort = "infra_host_usage"
USAGEATTRIBUTIONSORT_CUSTOM_TIMESERIES_USAGE UsageAttributionSort = "custom_timeseries_usage"
USAGEATTRIBUTIONSORT_LAMBDA_FUNCTIONS_USAGE UsageAttributionSort = "lambda_functions_usage"
USAGEATTRIBUTIONSORT_LAMBDA_FUNCTIONS_PERCENTAGE UsageAttributionSort = "lambda_functions_percentage"
USAGEATTRIBUTIONSORT_LAMBDA_INVOCATIONS_USAGE UsageAttributionSort = "lambda_invocations_usage"
USAGEATTRIBUTIONSORT_LAMBDA_INVOCATIONS_PERCENTAGE UsageAttributionSort = "lambda_invocations_percentage"
USAGEATTRIBUTIONSORT_ESTIMATED_INDEXED_LOGS_USAGE UsageAttributionSort = "estimated_indexed_logs_usage"
USAGEATTRIBUTIONSORT_ESTIMATED_INDEXED_LOGS_PERCENTAGE UsageAttributionSort = "estimated_indexed_logs_percentage"
USAGEATTRIBUTIONSORT_ESTIMATED_INGESTED_LOGS_USAGE UsageAttributionSort = "estimated_ingested_logs_usage"
USAGEATTRIBUTIONSORT_ESTIMATED_INGESTED_LOGS_PERCENTAGE UsageAttributionSort = "estimated_ingested_logs_percentage"
USAGEATTRIBUTIONSORT_ESTIMATED_INDEXED_SPANS_USAGE UsageAttributionSort = "estimated_indexed_spans_usage"
USAGEATTRIBUTIONSORT_ESTIMATED_INDEXED_SPANS_PERCENTAGE UsageAttributionSort = "estimated_indexed_spans_percentage"
USAGEATTRIBUTIONSORT_ESTIMATED_INGESTED_SPANS_USAGE UsageAttributionSort = "estimated_ingested_spans_usage"
USAGEATTRIBUTIONSORT_ESTIMATED_INGESTED_SPANS_PERCENTAGE UsageAttributionSort = "estimated_ingested_spans_percentage"
USAGEATTRIBUTIONSORT_APM_FARGATE_USAGE UsageAttributionSort = "apm_fargate_usage"
USAGEATTRIBUTIONSORT_APM_FARGATE_PERCENTAGE UsageAttributionSort = "apm_fargate_percentage"
USAGEATTRIBUTIONSORT_APPSEC_FARGATE_USAGE UsageAttributionSort = "appsec_fargate_usage"
USAGEATTRIBUTIONSORT_APPSEC_FARGATE_PERCENTAGE UsageAttributionSort = "appsec_fargate_percentage"
USAGEATTRIBUTIONSORT_ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE UsageAttributionSort = "estimated_rum_usage_attribution_usage"
USAGEATTRIBUTIONSORT_ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE UsageAttributionSort = "estimated_rum_usage_attribution_percentage"
USAGEATTRIBUTIONSORT_ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE UsageAttributionSort = "asm_serverless_traced_invocations_usage"
USAGEATTRIBUTIONSORT_ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE UsageAttributionSort = "asm_serverless_traced_invocations_percentage"
)

var allowedUsageAttributionSortEnumValues = []UsageAttributionSort{
Expand Down Expand Up @@ -90,6 +92,8 @@ var allowedUsageAttributionSortEnumValues = []UsageAttributionSort{
USAGEATTRIBUTIONSORT_APPSEC_FARGATE_PERCENTAGE,
USAGEATTRIBUTIONSORT_ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE,
USAGEATTRIBUTIONSORT_ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE,
USAGEATTRIBUTIONSORT_ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE,
USAGEATTRIBUTIONSORT_ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE,
}

// GetAllowedValues reeturns the list of possible values.
Expand Down
Loading
Loading