package
0.1.0
Repository: https://github.com/segmentio/kubeapply.git
Documentation: pkg.go.dev

# Functions

GetDatadogAPIKey gets the Datadog API key from an AWS SSM parameter.
NewDatadogStatsClient creates a new DatadogStatsClient instance.
NewFakeStatsClient returns a new FakeStatsClient instance.
NewSegmentStatsClient returns a new SegmentStatsClient instance.

# Constants

StatTypeCount represents the type of a count stat.
StatTypeGauge represents the type of a guage stat.

# Structs

DatadogStatsClient is an implementation of StatsClient that sends stats to the Datadog API directly.
FakeStatsClient is a fake implementation of StatsClient for testing purposes.
NullStatsClient is a StatsClient implementation that does not export stats.
SegmentStatsClient is an implementation of StatsClient that wraps a Segment stats.Engine.

# Interfaces

StatsClient is an interface for exposing stats from kubeapply lambda runs.

# Type aliases

StatType is a string type that stores the type of stat being exported.