Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmitRequest ¶
type Implementation ¶
type Implementation struct {
// contains filtered or unexported fields
}
func New ¶
func New(params Params) (*Implementation, error)
func (*Implementation) Emit ¶
func (i *Implementation) Emit(req EmitRequest)
type MetricsProvider ¶
type MetricsProvider string
const (
DATADOG_METRICS_PROVIDER MetricsProvider = "datadog"
)
type MonitoringConfig ¶
type MonitoringConfig struct { LoggingEnabled bool `yaml:"logging-enabled"` LoggingLevel EmitType `yaml:"logging-level"` MetricsEnabled bool `yaml:"metrics-enabled"` MetricsLevel EmitType `yaml:"metrics-level"` MetricsProvider MetricsProvider `yaml:"metrics-provider"` DatadogAddr string `yaml:"datadog-addr"` }
type ServiceLayer ¶
type ServiceLayer string
const ( ModuleServiceLayer ServiceLayer = "module" RepositoryServiceLayer ServiceLayer = "repository" ProtocolServiceLayer ServiceLayer = "protocol" EventServiceLayer ServiceLayer = "event" )
Click to show internal directories.
Click to hide internal directories.