Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ToolInvocations = prometheus.NewCounterVec( prometheus.CounterOpts{ Namespace: namespace, Name: "tool_invocations_total", Help: "Total number of tool invocations", }, []string{"tool"}, ) ToolLatency = prometheus.NewHistogramVec( prometheus.HistogramOpts{ Namespace: namespace, Name: "tool_duration_seconds", Help: "Tool execution duration in seconds", Buckets: prometheus.ExponentialBuckets(0.01, 2, 12), }, []string{"tool"}, ) SessionStarts = prometheus.NewCounter( prometheus.CounterOpts{ Namespace: namespace, Name: "session_starts_total", Help: "Total number of sessions started", }, ) SessionCloses = prometheus.NewCounter( prometheus.CounterOpts{ Namespace: namespace, Name: "session_closes_total", Help: "Total number of sessions closed", }, ) ActiveSessions = prometheus.NewGauge( prometheus.GaugeOpts{ Namespace: namespace, Name: "active_sessions", Help: "Current number of active sessions", }, ) ErrorsTotal = prometheus.NewCounterVec( prometheus.CounterOpts{ Namespace: namespace, Name: "errors_total", Help: "Total number of errors encountered per method", }, []string{"method"}, ) )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.