package
0.0.0-20241118024133-edbd9852a939
Repository: https://github.com/supporttools/go-sql-proxy.git
Documentation: pkg.go.dev

# Functions

DecrementProxyConnections decrements the proxy connections counter.
IncrementDataFromClient increments the data from client counter.
IncrementDataToClient increments the data to client counter.
IncrementProxyConnections increments the proxy connections counter.
IncrementProxyErrors increments the proxy errors counter.
NewCounterWriter creates a new io.Writer that increments the given counter.
StartMetricsServer starts the metrics server on the configured port.

# Variables

DataFromClient is a counter for the total number of bytes transferred from client to server through the proxy.
DataToClient is a counter for the total number of bytes transferred from server to client through the proxy.
LastRequestLatency is a gauge for the latency of the last proxy request.