Documentation
¶
Index ¶
Constants ¶
View Source
const ( GoFatalError = "fatal error:" GoPanic = "panic:" PythonTraceBack = "Traceback " )
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
NewFactory creates a factory for DataDog receiver.
Types ¶
type Config ¶
type Config struct { confighttp.ServerConfig `mapstructure:",squash"` // ReadTimeout of the http server ReadTimeout time.Duration `mapstructure:"read_timeout"` TagcacheExtension *component.ID `mapstructure:"tagcache_extension"` }
type DDErrorWrapper ¶
type DDErrorWrapper struct {
Errors []DDError `json:"errors"`
}
type MetricsPayloadV1 ¶
type MetricsPayloadV1 struct {
Series []SeriesV1 `json:"series"`
}
MetricsPayloadV1 is for the /api/v1/series endpoint.
type SeriesV1 ¶
type SeriesV1 struct { Host *string `json:"host,omitempty"` Interval *int64 `json:"interval,omitempty"` Metric string `json:"metric"` Points []tuple.T2[int64, float64] `json:"points"` Tags []string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
SeriesV1 is for the /api/v1/series endpoint.
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
internal
|
|
sharedcomponent
Package sharedcomponent exposes util functionality for receivers and exporters that need to share state between different signal types instances such as net.Listener or os.File.
|
Package sharedcomponent exposes util functionality for receivers and exporters that need to share state between different signal types instances such as net.Listener or os.File. |
Click to show internal directories.
Click to hide internal directories.