Documentation ¶
Index ¶
Constants ¶
View Source
const ( Gauge = "gauge" Count = "count" Rate = "rate" Set = "set" Histogram = "histogram" Distribution = "distribution" )
View Source
const ( Emergency = "EMERGENCY" Error = "ERROR" Warn = "WARN" Info = "INFO" Debug = "DEBUG" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataDogLogClient ¶
type DataDogLogClient struct { *rpcclient.RestClient // contains filtered or unexported fields }
func NewDataDogLogClient ¶
func NewDataDogLogClient(config *cconf.ConfigParams) *DataDogLogClient
func (*DataDogLogClient) Configure ¶
func (c *DataDogLogClient) Configure(config *cconf.ConfigParams)
func (*DataDogLogClient) Open ¶
func (c *DataDogLogClient) Open(correlationId string) error
func (*DataDogLogClient) SendLogs ¶
func (c *DataDogLogClient) SendLogs(correlationId string, messages []DataDogLogMessage) error
func (*DataDogLogClient) SetReferences ¶
func (c *DataDogLogClient) SetReferences(refs cref.IReferences)
type DataDogLogMessage ¶
type DataDogLogMessage struct { Time time.Time `json:"time"` Tags map[string]string `json:"tags"` Status string `json:"status"` Source string `json:"source"` Service string `json:"service"` Host string `json:"host"` Message string `json:"message"` LoggerName string `json:"logger_name"` ThreadName string `json:"thread_name"` ErrorMessage string `json:"error_message"` ErrorKind string `json:"error_kind"` ErrorStack string `json:"error_stack"` }
type DataDogMetric ¶
type DataDogMetricPoint ¶
type DataDogMetricsClient ¶
type DataDogMetricsClient struct { *rpcclient.RestClient // contains filtered or unexported fields }
func NewDataDogMetricsClient ¶
func NewDataDogMetricsClient(config *cconf.ConfigParams) *DataDogMetricsClient
func (*DataDogMetricsClient) Configure ¶
func (c *DataDogMetricsClient) Configure(config *cconf.ConfigParams)
func (*DataDogMetricsClient) Open ¶
func (c *DataDogMetricsClient) Open(correlationId string) error
func (*DataDogMetricsClient) SendMetrics ¶
func (c *DataDogMetricsClient) SendMetrics(correlationId string, metrics []DataDogMetric) error
func (*DataDogMetricsClient) SetReferences ¶
func (c *DataDogMetricsClient) SetReferences(refs cref.IReferences)
Click to show internal directories.
Click to hide internal directories.