feat(collectors) basic implementation of boring collectors; sender via http(s) to hard coded api route
This commit is contained in:
9
internal/collectors/collector.go
Normal file
9
internal/collectors/collector.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package collectors
|
||||
|
||||
import "bugs.watch/agent/internal/aggregate"
|
||||
|
||||
// Collector collects one kind of system signal.
|
||||
type Collector interface {
|
||||
Collect(window *aggregate.Window)
|
||||
Name() string
|
||||
}
|
||||
Reference in New Issue
Block a user