Decoder transforms byte field value into a byte value representing string to either use as an input for another Decoder or to use as the final label value for Prometheus metrics
| 18 | // to either use as an input for another Decoder or to use as the final |
| 19 | // label value for Prometheus metrics |
| 20 | type Decoder interface { |
| 21 | Decode(in []byte, conf config.Decoder) ([]byte, error) |
| 22 | } |
| 23 | |
| 24 | // Set is a set of Decoders that may be applied to produce a label |
| 25 | type Set struct { |
no outgoing calls
no test coverage detected