Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GracefulDatadogShutdown ¶
func GracefulDatadogShutdown()
GracefulDatadogShutdown of executed parallel processes
func StartDatadog ¶
func StartDatadog(cfg config.DatadogParameters, connectionType ConnectionType) error
StartDatadog parallel process to collect data for Datadog. connectionType flag related to Datadog connection type, it supports HTTP or socket - values will be used from config.DatadogParameters
Types ¶
type ConnectionType ¶
type ConnectionType byte
ConnectionType enum type
const ( // ConnectionTypeSocket sets the connection to Datadog to go throug a UNIX socket ConnectionTypeSocket ConnectionType = iota // ConnectionTypeHTTP sets the connection to Datadog to go over HTTP ConnectionTypeHTTP )
Directories ¶
Path | Synopsis |
---|---|
generated/mocks/DataDog/datadog-go/v5/statsd
Code generated by MockGen.
|
Code generated by MockGen. |
generated/mocks/labstack/echo/v4
Code generated by MockGen.
|
Code generated by MockGen. |
generated/mocks/metric
Code generated by MockGen.
|
Code generated by MockGen. |
middleware
|
|
Click to show internal directories.
Click to hide internal directories.