Class: MetricsLabels
- Inherits:
-
Object
- Object
- MetricsLabels
- Defined in:
- lib/fluent/metrics/metricsLabels.rb
Overview
Copyright © 2021, 2024 Oracle and/or its affiliates. The Universal Permissive License (UPL), Version 1.0 as shown at oss.oracle.com/licenses/upl/
Instance Attribute Summary collapse
-
#invalid_reason ⇒ Object
Returns the value of attribute invalid_reason.
-
#latency ⇒ Object
Returns the value of attribute latency.
-
#logGroupId ⇒ Object
Returns the value of attribute logGroupId.
-
#logSet ⇒ Object
Returns the value of attribute logSet.
-
#logSourceName ⇒ Object
Returns the value of attribute logSourceName.
-
#records_per_tag ⇒ Object
Returns the value of attribute records_per_tag.
-
#records_valid ⇒ Object
Returns the value of attribute records_valid.
-
#tag ⇒ Object
Returns the value of attribute tag.
-
#timezone ⇒ Object
Returns the value of attribute timezone.
-
#worker_id ⇒ Object
Returns the value of attribute worker_id.
Instance Method Summary collapse
-
#initialize ⇒ MetricsLabels
constructor
A new instance of MetricsLabels.
Constructor Details
#initialize ⇒ MetricsLabels
Returns a new instance of MetricsLabels.
6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/fluent/metrics/metricsLabels.rb', line 6 def initialize @worker_id = nil @tag = nil @logGroupId = nil @logSourceName = nil @logSet = nil @invalid_reason = nil @records_valid = 0 @records_per_tag = 0 @latency = 0 @timezone = nil end |
Instance Attribute Details
#invalid_reason ⇒ Object
Returns the value of attribute invalid_reason.
5 6 7 |
# File 'lib/fluent/metrics/metricsLabels.rb', line 5 def invalid_reason @invalid_reason end |
#latency ⇒ Object
Returns the value of attribute latency.
5 6 7 |
# File 'lib/fluent/metrics/metricsLabels.rb', line 5 def latency @latency end |
#logGroupId ⇒ Object
Returns the value of attribute logGroupId.
5 6 7 |
# File 'lib/fluent/metrics/metricsLabels.rb', line 5 def logGroupId @logGroupId end |
#logSet ⇒ Object
Returns the value of attribute logSet.
5 6 7 |
# File 'lib/fluent/metrics/metricsLabels.rb', line 5 def logSet @logSet end |
#logSourceName ⇒ Object
Returns the value of attribute logSourceName.
5 6 7 |
# File 'lib/fluent/metrics/metricsLabels.rb', line 5 def logSourceName @logSourceName end |
#records_per_tag ⇒ Object
Returns the value of attribute records_per_tag.
5 6 7 |
# File 'lib/fluent/metrics/metricsLabels.rb', line 5 def records_per_tag @records_per_tag end |
#records_valid ⇒ Object
Returns the value of attribute records_valid.
5 6 7 |
# File 'lib/fluent/metrics/metricsLabels.rb', line 5 def records_valid @records_valid end |
#tag ⇒ Object
Returns the value of attribute tag.
5 6 7 |
# File 'lib/fluent/metrics/metricsLabels.rb', line 5 def tag @tag end |
#timezone ⇒ Object
Returns the value of attribute timezone.
5 6 7 |
# File 'lib/fluent/metrics/metricsLabels.rb', line 5 def timezone @timezone end |
#worker_id ⇒ Object
Returns the value of attribute worker_id.
5 6 7 |
# File 'lib/fluent/metrics/metricsLabels.rb', line 5 def worker_id @worker_id end |