package
0.0.0-20250307145209-c3a19bf62e49
Repository: https://github.com/ardanlabs/service.git
Documentation: pkg.go.dev

# Packages

Package datadog provides support for publishing metrics to DD.
Package expvar manages the publishing of metrics to stdout.
Package prometheus provides suppoert for sending metrics to prometheus.

# Functions

New creates a Publish for consuming and publishing metrics.
NewStdout initializes stdout for publishing metrics.

# Constants

Set of possible publisher types.
Set of possible publisher types.

# Structs

Publish provides the ability to receive metrics on an interval.
Stdout provide our basic publishing.

# Interfaces

Collector defines a contract a collector must support so a consumer can retrieve metrics.

# Type aliases

Publisher defines a handler function that will be called on each interval.