Class: Edge::TimeSeries

Inherits:
Object
  • Object
show all
Defined in:
lib/logstash/outputs/Edge/TimeSeries.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(labels_param, sample_param) ⇒ TimeSeries

Returns a new instance of TimeSeries.



8
9
10
11
# File 'lib/logstash/outputs/Edge/TimeSeries.rb', line 8

def initialize(labels_param, sample_param)
    labels = labels_param
    samples = sample_param
end

Instance Attribute Details

#labelsObject (readonly)

Returns the value of attribute labels.



6
7
8
# File 'lib/logstash/outputs/Edge/TimeSeries.rb', line 6

def labels
  @labels
end

#samplesObject (readonly)

Returns the value of attribute samples.



6
7
8
# File 'lib/logstash/outputs/Edge/TimeSeries.rb', line 6

def samples
  @samples
end