Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstrumentationServer ¶
type InstrumentationServer struct {
// contains filtered or unexported fields
}
func NewInstrumentationServer ¶
func NewInstrumentationServer(port int, logger log.Logger, registry *prometheus.Registry) *InstrumentationServer
NewInstrumentationServer returns a server exposing Prometheus metrics.
func (*InstrumentationServer) Start ¶
func (s *InstrumentationServer) Start() error
Start the instrumentation server.
func (*InstrumentationServer) Stop ¶
func (s *InstrumentationServer) Stop()
Stop closes the instrumentation server.
Click to show internal directories.
Click to hide internal directories.