Decoder types decode an input stream into metric families.
| 29 | |
| 30 | // Decoder types decode an input stream into metric families. |
| 31 | type Decoder interface { |
| 32 | Decode(*dto.MetricFamily) error |
| 33 | } |
| 34 | |
| 35 | // DecodeOptions contains options used by the Decoder and in sample extraction. |
| 36 | type DecodeOptions struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…