mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-21 23:37:31 +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
|
||
|
}
|