Class: Pgbus::Metrics::Backends::Prometheus::Series
- Inherits:
-
Struct
- Object
- Struct
- Pgbus::Metrics::Backends::Prometheus::Series
- Defined in:
- lib/pgbus/metrics/backends/prometheus.rb
Overview
samples: { tags_key => value }
Instance Attribute Summary collapse
-
#samples ⇒ Object
Returns the value of attribute samples.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#samples ⇒ Object
Returns the value of attribute samples
17 18 19 |
# File 'lib/pgbus/metrics/backends/prometheus.rb', line 17 def samples @samples end |
#type ⇒ Object
Returns the value of attribute type
17 18 19 |
# File 'lib/pgbus/metrics/backends/prometheus.rb', line 17 def type @type end |