update the as per the comment
This commit is contained in:
@@ -6,10 +6,10 @@ import (
|
||||
"github.com/beckn-one/beckn-onix/pkg/telemetry"
|
||||
)
|
||||
|
||||
// MetricsProvider encapsulates initialization of OpenTelemetry metrics
|
||||
// OtelSetupMetricsProvider encapsulates initialization of OpenTelemetry metrics
|
||||
// providers. Implementations wire exporters and return a Provider that the core
|
||||
// application can manage.
|
||||
type MetricsProvider interface {
|
||||
type OtelSetupMetricsProvider interface {
|
||||
// New initializes a new telemetry provider instance with the given configuration.
|
||||
New(ctx context.Context, config map[string]string) (*telemetry.Provider, func() error, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user