Class: DatadogAPIClient::V2::ObservabilityPipelineQuotaProcessor
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::ObservabilityPipelineQuotaProcessor
- 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
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#drop_events ⇒ Object
readonly
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. -
#id ⇒ Object
readonly
The unique identifier for this component.
-
#ignore_when_missing_partitions ⇒ Object
If
true
, the processor skips quota checks when partition fields are missing from the logs. -
#include ⇒ Object
readonly
A Datadog search query used to determine which logs this processor targets.
-
#inputs ⇒ Object
readonly
A list of component IDs whose output is used as the
input
for this component. -
#limit ⇒ Object
readonly
The maximum amount of data or number of events allowed before the quota is enforced.
-
#name ⇒ Object
readonly
Name for identifying the processor.
-
#overrides ⇒ Object
A list of alternate quota rules that apply to specific sets of events, identified by matching field values.
-
#partition_fields ⇒ Object
A list of fields used to segment log traffic for quota enforcement.
-
#type ⇒ Object
readonly
The processor type.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
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_events ⇒ Object
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 |
#id ⇒ Object
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_partitions ⇒ Object
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 |
#include ⇒ Object
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 |
#inputs ⇒ Object
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 |
#limit ⇒ Object
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 |
#name ⇒ Object
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 |
#overrides ⇒ Object
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_fields ⇒ Object
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 |
#type ⇒ Object
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 |