package
Version:
v0.0.0-...-2b959d5
Opens a new window with list of versions in this module.
Published: Feb 15, 2023
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
package proxy provides a TCP proxy which exposes telemetry metrics via prometheus instrumentation.
func NewConfig(listenAddress, targetAddress, metricsAddress string) config
NewConfig returns a new
func NewProxy(config config, doneCh chan<- struct{}) *proxy
NewProxy returns a new proxy having the passed configuration.
The passed done channel will be closed when the proxy has completed shutting down.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.