Class: MetricsLabels

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initializeMetricsLabels

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_reasonObject

Returns the value of attribute invalid_reason.



5
6
7
# File 'lib/fluent/metrics/metricsLabels.rb', line 5

def invalid_reason
  @invalid_reason
end

#latencyObject

Returns the value of attribute latency.



5
6
7
# File 'lib/fluent/metrics/metricsLabels.rb', line 5

def latency
  @latency
end

#logGroupIdObject

Returns the value of attribute logGroupId.



5
6
7
# File 'lib/fluent/metrics/metricsLabels.rb', line 5

def logGroupId
  @logGroupId
end

#logSetObject

Returns the value of attribute logSet.



5
6
7
# File 'lib/fluent/metrics/metricsLabels.rb', line 5

def logSet
  @logSet
end

#logSourceNameObject

Returns the value of attribute logSourceName.



5
6
7
# File 'lib/fluent/metrics/metricsLabels.rb', line 5

def logSourceName
  @logSourceName
end

#records_per_tagObject

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_validObject

Returns the value of attribute records_valid.



5
6
7
# File 'lib/fluent/metrics/metricsLabels.rb', line 5

def records_valid
  @records_valid
end

#tagObject

Returns the value of attribute tag.



5
6
7
# File 'lib/fluent/metrics/metricsLabels.rb', line 5

def tag
  @tag
end

#timezoneObject

Returns the value of attribute timezone.



5
6
7
# File 'lib/fluent/metrics/metricsLabels.rb', line 5

def timezone
  @timezone
end

#worker_idObject

Returns the value of attribute worker_id.



5
6
7
# File 'lib/fluent/metrics/metricsLabels.rb', line 5

def worker_id
  @worker_id
end