blob: f4c5cff208667c1ebf77736bd442375a990d9a5e [file] [log] [blame]
package publishers
import (
"github.com/bazelbuild/continuous-integration/metrics/data"
"github.com/bazelbuild/continuous-integration/metrics/metrics"
)
type Publisher interface {
Name() string
RegisterMetric(metric metrics.Metric) error
Publish(metric metrics.Metric, newData data.DataSet) error
}