mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-15 12:27:59 +00:00
15 lines
222 B
Go
15 lines
222 B
Go
|
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
|
||
|
}
|