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 through a UNIX socket // // Deprecated: ConnectionTypeSocket. ConnectionTypeAuto should be used. ConnectionTypeSocket ConnectionType = iota // ConnectionTypeHTTP sets the connection to Datadog to go over HTTP // // Deprecated: ConnectionTypeHTTP. ConnectionTypeAuto should be used. ConnectionTypeHTTP // ConnectionTypeAuto sets connection to HTTP or UNIX depending on supplied configuration of DD_TRACE_AGENT_URL ConnectionTypeAuto )
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.