Documentation ¶
Index ¶
- Constants
- Variables
- func InitMeter(ctx context.Context, exporter metric.Reader, resource *resource.Resource) func(ctx context.Context) error
- func InitTracer(ctx context.Context, exporter trace.SpanExporter, resource *resource.Resource) func(ctx context.Context) error
- func SetupInstrument(ctx context.Context) (shutdown func(ctx context.Context) error, err error)
- type MetricServer
Constants ¶
View Source
const ( ServiceName = "bity_dating" ServiceVersion = "1.0.0" )
Variables ¶
View Source
var GraphSet = wire.NewSet( configs.ConfigGraphSet, NewMetricServer, )
Functions ¶
func InitTracer ¶
Types ¶
type MetricServer ¶
type MetricServer struct {
// contains filtered or unexported fields
}
func NewMetricServer ¶
func NewMetricServer( cfg *configs.MetricServerCfg, ) *MetricServer
Click to show internal directories.
Click to hide internal directories.