Documentation
¶
Overview ¶
Package observability defines tanGO's minimal backend-neutral metrics contract.
Index ¶
Constants ¶
View Source
const ( MetricHTTPRequestDuration = "tango_http_request_duration_seconds" MetricSchedulerJobInvocations = "tango_scheduler_job_invocations_total" MetricRealtimeRoomEvents = "tango_realtime_room_events_total" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NopRecorder ¶
type NopRecorder struct{}
NopRecorder discards every metric. Its zero value is ready for direct use.
func (NopRecorder) AddCounter ¶
func (NopRecorder) AddCounter(string, int64, ...slog.Attr)
func (NopRecorder) ObserveHistogram ¶
func (NopRecorder) ObserveHistogram(string, float64, ...slog.Attr)
Click to show internal directories.
Click to hide internal directories.