package
0.13.1-beta1
Repository: https://github.com/donewscode/core.git
Documentation: pkg.go.dev

# Functions

ProvideCronJobMetrics returns a *cron.CronJobMetrics that is designed to measure cron job metrics.
ProvideGORMMetrics returns a *otgorm.Gauges that measures the connection info in databases.
ProvideGRPCRequestDurationSeconds returns a *srvgrpc.RequestDurationSeconds that is designed to measure incoming GRPC requests to the system.
ProvideHTTPRequestDurationSeconds returns a *srvhttp.RequestDurationSeconds that is designed to measure incoming HTTP requests to the system.
ProvideJaegerLogAdapter returns a valid jaeger.Logger.
ProvideKafkaReaderMetrics returns a *otkafka.ReaderStats that measures the reader info in kafka.
ProvideKafkaWriterMetrics returns a *otkafka.WriterStats that measures the writer info in kafka.
ProvideOpentracing provides a opentracing.Tracer.
ProvidePoolMetrics returns a *pool.Counter that measures the info of pool.Pool.
ProvideRedisMetrics returns a RedisMetrics that measures the connection info in redis.
Providers returns a set of providers available in package observability Depends On: log.Logger contract.ConfigAccessor contract.AppName contract.Env Provides: opentracing.Tracer *srvhttp.RequestDurationSeconds */.

# Structs

JaegerLogAdapter is an adapter that bridges kitlog and Jaeger.
MetricsIn is the injection parameter of most metrics constructors in the observability package.