Class: DatadogAPIClient::V2::ObservabilityPipelineQuotaProcessor

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/observability_pipeline_quota_processor.rb

Overview

The Quota Processor measures logging traffic for logs that match a specified filter. When the configured daily quota is met, the processor can drop or alert.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



54
55
56
# File 'lib/datadog_api_client/v2/models/observability_pipeline_quota_processor.rb', line 54

def additional_properties
  @additional_properties
end

#drop_eventsObject

If set to true, logs that matched the quota filter and sent after the quota has been met are dropped; only logs that did not match the filter query continue through the pipeline.



25
26
27
# File 'lib/datadog_api_client/v2/models/observability_pipeline_quota_processor.rb', line 25

def drop_events
  @drop_events
end

#idObject

The unique identifier for this component. Used to reference this component in other parts of the pipeline (for example, as the input to downstream components).



28
29
30
# File 'lib/datadog_api_client/v2/models/observability_pipeline_quota_processor.rb', line 28

def id
  @id
end

#ignore_when_missing_partitionsObject

If true, the processor skips quota checks when partition fields are missing from the logs.



31
32
33
# File 'lib/datadog_api_client/v2/models/observability_pipeline_quota_processor.rb', line 31

def ignore_when_missing_partitions
  @ignore_when_missing_partitions
end

#includeObject

A Datadog search query used to determine which logs this processor targets.



34
35
36
# File 'lib/datadog_api_client/v2/models/observability_pipeline_quota_processor.rb', line 34

def include
  @include
end

#inputsObject

A list of component IDs whose output is used as the input for this component.



37
38
39
# File 'lib/datadog_api_client/v2/models/observability_pipeline_quota_processor.rb', line 37

def inputs
  @inputs
end

#limitObject

The maximum amount of data or number of events allowed before the quota is enforced. Can be specified in bytes or events.



40
41
42
# File 'lib/datadog_api_client/v2/models/observability_pipeline_quota_processor.rb', line 40

def limit
  @limit
end

#nameObject

Name for identifying the processor.



43
44
45
# File 'lib/datadog_api_client/v2/models/observability_pipeline_quota_processor.rb', line 43

def name
  @name
end

#overridesObject

A list of alternate quota rules that apply to specific sets of events, identified by matching field values. Each override can define a custom limit.



46
47
48
# File 'lib/datadog_api_client/v2/models/observability_pipeline_quota_processor.rb', line 46

def overrides
  @overrides
end

#partition_fieldsObject

A list of fields used to segment log traffic for quota enforcement. Quotas are tracked independently by unique combinations of these field values.



49
50
51
# File 'lib/datadog_api_client/v2/models/observability_pipeline_quota_processor.rb', line 49

def partition_fields
  @partition_fields
end

#typeObject

The processor type. The value should always be quota.



52
53
54
# File 'lib/datadog_api_client/v2/models/observability_pipeline_quota_processor.rb', line 52

def type
  @type
end