mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-11 06:03:40 +00:00
fa9f581d56
* chore: move to new org * logging * fix: org rename caos -> zitadel Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
15 lines
225 B
Go
15 lines
225 B
Go
package otel
|
|
|
|
import (
|
|
"github.com/zitadel/zitadel/internal/telemetry/metrics"
|
|
)
|
|
|
|
type Config struct {
|
|
MeterName string
|
|
}
|
|
|
|
func (c *Config) NewMetrics() (err error) {
|
|
metrics.M, err = NewMetrics(c.MeterName)
|
|
return err
|
|
}
|