Skip to content

Commit

Permalink
Remove indexed logs from Usage Attribution (#1814)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Jan 6, 2023
1 parent f459bd5 commit 58de76e
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 94 deletions.
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.4",
"regenerated": "2023-01-06 07:37:08.151362",
"spec_repo_commit": "fe3267e8"
"regenerated": "2023-01-06 10:15:20.283199",
"spec_repo_commit": "03622159"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2023-01-06 07:37:08.173359",
"spec_repo_commit": "fe3267e8"
"regenerated": "2023-01-06 10:15:20.294953",
"spec_repo_commit": "03622159"
}
}
}
14 changes: 0 additions & 14 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3662,7 +3662,6 @@ components:
- estimated_ingested_spans_usage
- fargate_usage
- functions_usage
- indexed_logs_usage
- infra_host_usage
- invocations_usage
- npm_host_usage
Expand Down Expand Up @@ -3693,7 +3692,6 @@ components:
- ESTIMATED_INGESTED_SPANS_USAGE
- FARGATE_USAGE
- FUNCTIONS_USAGE
- INDEXED_LOGS_USAGE
- INFRA_HOST_USAGE
- INVOCATIONS_USAGE
- NPM_HOST_USAGE
Expand Down Expand Up @@ -7014,8 +7012,6 @@ components:
- fargate_percentage
- functions_usage
- functions_percentage
- indexed_logs_usage
- indexed_logs_percentage
- infra_host_usage
- infra_host_percentage
- invocations_usage
Expand Down Expand Up @@ -7075,8 +7071,6 @@ components:
- FARGATE_PERCENTAGE
- FUNCTIONS_USAGE
- FUNCTIONS_PERCENTAGE
- INDEXED_LOGS_USAGE
- INDEXED_LOGS_PERCENTAGE
- INFRA_HOST_USAGE
- INFRA_HOST_PERCENTAGE
- INVOCATIONS_USAGE
Expand Down Expand Up @@ -7288,14 +7282,6 @@ components:
description: The Lambda function usage by tag(s).
format: double
type: number
indexed_logs_percentage:
description: The percentage of indexed logs usage by tags.
format: double
type: number
indexed_logs_usage:
description: The indexed logs usage by tags.
format: double
type: number
infra_host_percentage:
description: The percentage of infrastructure host usage by tag(s).
format: double
Expand Down
2 changes: 0 additions & 2 deletions api/datadogV1/model_hourly_usage_attribution_usage_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ const (
HOURLYUSAGEATTRIBUTIONUSAGETYPE_ESTIMATED_INGESTED_SPANS_USAGE HourlyUsageAttributionUsageType = "estimated_ingested_spans_usage"
HOURLYUSAGEATTRIBUTIONUSAGETYPE_FARGATE_USAGE HourlyUsageAttributionUsageType = "fargate_usage"
HOURLYUSAGEATTRIBUTIONUSAGETYPE_FUNCTIONS_USAGE HourlyUsageAttributionUsageType = "functions_usage"
HOURLYUSAGEATTRIBUTIONUSAGETYPE_INDEXED_LOGS_USAGE HourlyUsageAttributionUsageType = "indexed_logs_usage"
HOURLYUSAGEATTRIBUTIONUSAGETYPE_INFRA_HOST_USAGE HourlyUsageAttributionUsageType = "infra_host_usage"
HOURLYUSAGEATTRIBUTIONUSAGETYPE_INVOCATIONS_USAGE HourlyUsageAttributionUsageType = "invocations_usage"
HOURLYUSAGEATTRIBUTIONUSAGETYPE_NPM_HOST_USAGE HourlyUsageAttributionUsageType = "npm_host_usage"
Expand Down Expand Up @@ -66,7 +65,6 @@ var allowedHourlyUsageAttributionUsageTypeEnumValues = []HourlyUsageAttributionU
HOURLYUSAGEATTRIBUTIONUSAGETYPE_ESTIMATED_INGESTED_SPANS_USAGE,
HOURLYUSAGEATTRIBUTIONUSAGETYPE_FARGATE_USAGE,
HOURLYUSAGEATTRIBUTIONUSAGETYPE_FUNCTIONS_USAGE,
HOURLYUSAGEATTRIBUTIONUSAGETYPE_INDEXED_LOGS_USAGE,
HOURLYUSAGEATTRIBUTIONUSAGETYPE_INFRA_HOST_USAGE,
HOURLYUSAGEATTRIBUTIONUSAGETYPE_INVOCATIONS_USAGE,
HOURLYUSAGEATTRIBUTIONUSAGETYPE_NPM_HOST_USAGE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ const (
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FARGATE_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "fargate_percentage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FUNCTIONS_USAGE MonthlyUsageAttributionSupportedMetrics = "functions_usage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FUNCTIONS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "functions_percentage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INDEXED_LOGS_USAGE MonthlyUsageAttributionSupportedMetrics = "indexed_logs_usage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INDEXED_LOGS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "indexed_logs_percentage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INFRA_HOST_USAGE MonthlyUsageAttributionSupportedMetrics = "infra_host_usage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INFRA_HOST_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "infra_host_percentage"
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INVOCATIONS_USAGE MonthlyUsageAttributionSupportedMetrics = "invocations_usage"
Expand Down Expand Up @@ -116,8 +114,6 @@ var allowedMonthlyUsageAttributionSupportedMetricsEnumValues = []MonthlyUsageAtt
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FARGATE_PERCENTAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FUNCTIONS_USAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FUNCTIONS_PERCENTAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INDEXED_LOGS_USAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INDEXED_LOGS_PERCENTAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INFRA_HOST_USAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INFRA_HOST_PERCENTAGE,
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INVOCATIONS_USAGE,
Expand Down
70 changes: 0 additions & 70 deletions api/datadogV1/model_monthly_usage_attribution_values.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,6 @@ type MonthlyUsageAttributionValues struct {
FunctionsPercentage *float64 `json:"functions_percentage,omitempty"`
// The Lambda function usage by tag(s).
FunctionsUsage *float64 `json:"functions_usage,omitempty"`
// The percentage of indexed logs usage by tags.
IndexedLogsPercentage *float64 `json:"indexed_logs_percentage,omitempty"`
// The indexed logs usage by tags.
IndexedLogsUsage *float64 `json:"indexed_logs_usage,omitempty"`
// The percentage of infrastructure host usage by tag(s).
InfraHostPercentage *float64 `json:"infra_host_percentage,omitempty"`
// The infrastructure host usage by tag(s).
Expand Down Expand Up @@ -1380,62 +1376,6 @@ func (o *MonthlyUsageAttributionValues) SetFunctionsUsage(v float64) {
o.FunctionsUsage = &v
}

// GetIndexedLogsPercentage returns the IndexedLogsPercentage field value if set, zero value otherwise.
func (o *MonthlyUsageAttributionValues) GetIndexedLogsPercentage() float64 {
if o == nil || o.IndexedLogsPercentage == nil {
var ret float64
return ret
}
return *o.IndexedLogsPercentage
}

// GetIndexedLogsPercentageOk returns a tuple with the IndexedLogsPercentage field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonthlyUsageAttributionValues) GetIndexedLogsPercentageOk() (*float64, bool) {
if o == nil || o.IndexedLogsPercentage == nil {
return nil, false
}
return o.IndexedLogsPercentage, true
}

// HasIndexedLogsPercentage returns a boolean if a field has been set.
func (o *MonthlyUsageAttributionValues) HasIndexedLogsPercentage() bool {
return o != nil && o.IndexedLogsPercentage != nil
}

// SetIndexedLogsPercentage gets a reference to the given float64 and assigns it to the IndexedLogsPercentage field.
func (o *MonthlyUsageAttributionValues) SetIndexedLogsPercentage(v float64) {
o.IndexedLogsPercentage = &v
}

// GetIndexedLogsUsage returns the IndexedLogsUsage field value if set, zero value otherwise.
func (o *MonthlyUsageAttributionValues) GetIndexedLogsUsage() float64 {
if o == nil || o.IndexedLogsUsage == nil {
var ret float64
return ret
}
return *o.IndexedLogsUsage
}

// GetIndexedLogsUsageOk returns a tuple with the IndexedLogsUsage field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MonthlyUsageAttributionValues) GetIndexedLogsUsageOk() (*float64, bool) {
if o == nil || o.IndexedLogsUsage == nil {
return nil, false
}
return o.IndexedLogsUsage, true
}

// HasIndexedLogsUsage returns a boolean if a field has been set.
func (o *MonthlyUsageAttributionValues) HasIndexedLogsUsage() bool {
return o != nil && o.IndexedLogsUsage != nil
}

// SetIndexedLogsUsage gets a reference to the given float64 and assigns it to the IndexedLogsUsage field.
func (o *MonthlyUsageAttributionValues) SetIndexedLogsUsage(v float64) {
o.IndexedLogsUsage = &v
}

// GetInfraHostPercentage returns the InfraHostPercentage field value if set, zero value otherwise.
func (o *MonthlyUsageAttributionValues) GetInfraHostPercentage() float64 {
if o == nil || o.InfraHostPercentage == nil {
Expand Down Expand Up @@ -1910,12 +1850,6 @@ func (o MonthlyUsageAttributionValues) MarshalJSON() ([]byte, error) {
if o.FunctionsUsage != nil {
toSerialize["functions_usage"] = o.FunctionsUsage
}
if o.IndexedLogsPercentage != nil {
toSerialize["indexed_logs_percentage"] = o.IndexedLogsPercentage
}
if o.IndexedLogsUsage != nil {
toSerialize["indexed_logs_usage"] = o.IndexedLogsUsage
}
if o.InfraHostPercentage != nil {
toSerialize["infra_host_percentage"] = o.InfraHostPercentage
}
Expand Down Expand Up @@ -2007,8 +1941,6 @@ func (o *MonthlyUsageAttributionValues) UnmarshalJSON(bytes []byte) (err error)
FargateUsage *float64 `json:"fargate_usage,omitempty"`
FunctionsPercentage *float64 `json:"functions_percentage,omitempty"`
FunctionsUsage *float64 `json:"functions_usage,omitempty"`
IndexedLogsPercentage *float64 `json:"indexed_logs_percentage,omitempty"`
IndexedLogsUsage *float64 `json:"indexed_logs_usage,omitempty"`
InfraHostPercentage *float64 `json:"infra_host_percentage,omitempty"`
InfraHostUsage *float64 `json:"infra_host_usage,omitempty"`
InvocationsPercentage *float64 `json:"invocations_percentage,omitempty"`
Expand Down Expand Up @@ -2075,8 +2007,6 @@ func (o *MonthlyUsageAttributionValues) UnmarshalJSON(bytes []byte) (err error)
o.FargateUsage = all.FargateUsage
o.FunctionsPercentage = all.FunctionsPercentage
o.FunctionsUsage = all.FunctionsUsage
o.IndexedLogsPercentage = all.IndexedLogsPercentage
o.IndexedLogsUsage = all.IndexedLogsUsage
o.InfraHostPercentage = all.InfraHostPercentage
o.InfraHostUsage = all.InfraHostUsage
o.InvocationsPercentage = all.InvocationsPercentage
Expand Down

0 comments on commit 58de76e

Please sign in to comment.