Processor is a processor plugin interface for defining new inline processors. these are extremely efficient and should be used over StreamingProcessor if you do not need asynchronous metric writes.
| 4 | // these are extremely efficient and should be used over StreamingProcessor if |
| 5 | // you do not need asynchronous metric writes. |
| 6 | type Processor interface { |
| 7 | PluginDescriber |
| 8 | |
| 9 | // Apply the filter to the given metric. |
| 10 | Apply(in ...Metric) []Metric |
| 11 | } |
| 12 | |
| 13 | // StreamingProcessor is a processor that can take in a stream of messages |
| 14 | type StreamingProcessor interface { |
no outgoing calls
no test coverage detected
searching dependent graphs…