package
0.0.0-20231112095346-9008a76cf7cf
Repository: https://github.com/dhontecillas/hfw.git
Documentation: pkg.go.dev

# Functions

NewDataDogMeterBuilder creates a function to create new DataDogMeter's.
NewMockMeter creates a new Mock meter.
NewMockMeterBuilder returns a function to create Mock meters.
NewMultiMeter creates a MultiMeter.
NewMultiMeterBuilder crates a function to build NopMeters.
NewNopMeter creates a NopMeter.
NewNopMeterBuilder returns a func.
NewPrometheusMeter creates a new prometheus meter.
NewPrometheusMeterBuilder creates a new prometheus function to create prometheus meters.
Serve starts the server from where the metrics can be scraped.

# Constants

Custom metric types.
Custom metric types.
Type definitions for the different kind of metrics available.
MetricTypeExtension is the minimum value for a custom metric type.
Type definitions for the different kind of metrics available.
Type definitions for the different kind of metrics available.
Type definitions for the different kind of metrics available.
Type definitions for the different kind of metrics available.
Definitions of special metric types that can only be used with Prometheus.
Definitions of special metric types that can only be used with Prometheus.

# Structs

Catalog contains the list of defined metrics.
DataDogMeter is an implementation of metrics for DataDog.
DataDogMeterConfig has the required configuration for a DataDotMeter.
Def contains the information for a metric definition.
MockMeter is an implementation of a meter used to check that we are sending.
MultiMeter is a meter that allows to send metrics to several other meters.
NopMeter is a meter that does nothing.
PrometheusConfig is the configuration for creating a Prometheus Meter.
PrometheusMeter is the implementation of a Prometheus Meter.

# Interfaces

Meter is the interface that abstracts the underlying metrics system.

# Type aliases

Defs defines a list of metric definitions.
MeterBuilderFn defines the type of a builder function for Meters.