const Namespace …
const Subsystem …
var Metrics …
type ClientMetrics …
type DialFailureReason …
const DialFailureUnknown …
const DialFailureTimeout …
const DialFailureContext …
const DialFailureEndpoint …
const DialFailureDialClosed …
const DialFailureTunnelClosed …
const DialFailureAlreadyStarted …
type ClientConnectionStatus …
const ClientConnectionStatusCreated …
const ClientConnectionStatusDialing …
const ClientConnectionStatusOk …
const ClientConnectionStatusClosing …
func newMetrics() *ClientMetrics { … }
func (c *ClientMetrics) RegisterMetrics(r prometheus.Registerer) { … }
func (c *ClientMetrics) LegacyRegisterMetrics(mustRegisterFn func(...prometheus.Collector)) { … }
func (c *ClientMetrics) Reset() { … }
func (c *ClientMetrics) ObserveDialFailure(reason DialFailureReason) { … }
func (c *ClientMetrics) GetClientConnectionsMetric() *prometheus.GaugeVec { … }
func (c *ClientMetrics) ObservePacket(segment commonmetrics.Segment, packetType client.PacketType) { … }
func (c *ClientMetrics) ObserveStreamErrorNoPacket(segment commonmetrics.Segment, err error) { … }
func (c *ClientMetrics) ObserveStreamError(segment commonmetrics.Segment, err error, packetType client.PacketType) { … }