diff --git a/service/probe/MetricService.go b/service/probe/MetricService.go index 0ab8dd8..2411684 100644 --- a/service/probe/MetricService.go +++ b/service/probe/MetricService.go @@ -1,5 +1,9 @@ package probe +import ( + "git.loafle.net/overflow/commons-go/model/data" +) + type MetricService interface { - Send(sensorConfigID string, metric map[string]string) error + Send(metric *data.Metric) error }