Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct { Support // contains filtered or unexported fields }
Metrics holds metrics counters
func NewMetrics ¶
func NewMetrics(ctx context.Context, cfg config.Configuration) Metrics
NewMetrics returns blank metrics holder
func (Metrics) MessageEgress ¶
MessageEgress increment number of outcomming messages
func (Metrics) MessageIngress ¶
MessageIngress increment number of incomming messages
type Relay ¶
type Relay struct { Support // contains filtered or unexported fields }
Relay fascade
type Snapshot ¶
type Snapshot struct { MessageEgress int64 `json:"messageEgress"` MessageIngress int64 `json:"messageIngress"` }
Snapshot holds metrics snapshot status
type Support ¶
type Support struct { IsReady chan interface{} // contains filtered or unexported fields }
Support provides support for graceful shutdown
func NewDaemonSupport ¶
NewDaemonSupport constructor
Click to show internal directories.
Click to hide internal directories.