Documentation ¶
Overview ¶
Package publisher manages the publishing of metrics.
Index ¶
Constants ¶
View Source
const ( TypeStdout = "stdout" TypeDatadog = "datadog" )
Set of possible publisher types.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
Collector defines a contract a collector must support so a consumer can retrieve metrics.
type Publish ¶
type Publish struct {
// contains filtered or unexported fields
}
Publish provides the ability to receive metrics on an interval.
Directories ¶
Path | Synopsis |
---|---|
Package datadog provides support for publishing metrics to DD.
|
Package datadog provides support for publishing metrics to DD. |
Package expvar manages the publishing of metrics to stdout.
|
Package expvar manages the publishing of metrics to stdout. |
Package prometheus provides suppoert for sending metrics to prometheus.
|
Package prometheus provides suppoert for sending metrics to prometheus. |
Click to show internal directories.
Click to hide internal directories.