Class: Edge::TimeSeries
- Inherits:
-
Object
- Object
- Edge::TimeSeries
- Defined in:
- lib/logstash/outputs/Edge/TimeSeries.rb
Instance Attribute Summary collapse
-
#labels ⇒ Object
readonly
Returns the value of attribute labels.
-
#samples ⇒ Object
readonly
Returns the value of attribute samples.
Instance Method Summary collapse
-
#initialize(labels_param, sample_param) ⇒ TimeSeries
constructor
A new instance of TimeSeries.
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
#labels ⇒ Object (readonly)
Returns the value of attribute labels.
6 7 8 |
# File 'lib/logstash/outputs/Edge/TimeSeries.rb', line 6 def labels @labels end |
#samples ⇒ Object (readonly)
Returns the value of attribute samples.
6 7 8 |
# File 'lib/logstash/outputs/Edge/TimeSeries.rb', line 6 def samples @samples end |