Documentation ¶
Index ¶
- func CreateMetrics(namespace string)
- func RecordAPIDuration(path string, method string, code int, start time.Time)
- func RecordClientApiRequestDuration(name string, err error, start time.Time)
- func RecordEventLoopDuration(name string, err error, start time.Time)
- func RecordKeyValEvent(name string, value string)
- func SetUpJaegerTracerProvider(aggregatorURL string, service string) (*tracesdk.TracerProvider, error)
- func SetUpLogger(level string) error
- func SetUpNoopTracerProvider() trace.TracerProvider
- func Setup(ctx context.Context, logLevel string, serviceName string, prometheusPort int, ...) (trace.TracerProvider, error, func())
- func SetupPrometheus(port int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMetrics ¶
func CreateMetrics(namespace string)
func RecordAPIDuration ¶
func RecordEventLoopDuration ¶
func RecordKeyValEvent ¶
func SetUpJaegerTracerProvider ¶
func SetUpJaegerTracerProvider(aggregatorURL string, service string) (*tracesdk.TracerProvider, error)
func SetUpLogger ¶
func SetUpNoopTracerProvider ¶
func SetUpNoopTracerProvider() trace.TracerProvider
func SetupPrometheus ¶
func SetupPrometheus(port int)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.