utils

package
v0.0.0-...-518ed46 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HealthCheckHandler

func HealthCheckHandler(w http.ResponseWriter, r *http.Request)

func NewMetricConfig

func NewMetricConfig(serviceName string) (otelchimetric.BaseConfig, error)

NewMetricConfig creates metric configuration that includes: - Request Duration Metrics: measures the latency of HTTP requests - Request Inflight Metrics: tracks the number of concurrent requests - Response Size Metrics: measures the size of HTTP responses

func NewTracer

func NewTracer(svcName string) (trace.Tracer, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL