diff --git a/internal/metrics/metrics.go b/internal/metrics/metrics.go new file mode 100644 index 000000000..12686b1fa --- /dev/null +++ b/internal/metrics/metrics.go @@ -0,0 +1,10 @@ +package metrics + +// Copyright (c) Microsoft Corporation. +// Licensed under the Apache License 2.0. + +// Emitter emits different types of metrics +type Emitter interface { + EmitCounter(metricName string, value float64, labels map[string]string) + EmitGauge(metricName string, value float64, labels map[string]string) +}