zitadel/internal/telemetry/metrics/otel/config.go

15 lines
222 B
Go
Raw Normal View History

package otel
import (
"github.com/caos/zitadel/internal/telemetry/metrics"
)
type Config struct {
MeterName string
}
func (c *Config) NewMetrics() (err error) {
metrics.M, err = NewMetrics(c.MeterName)
return err
}