Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParsePrometheusMetrics ¶
func ParsePrometheusMetrics(rdr io.Reader) (map[string]*promClient.MetricFamily, error)
ParsePrometheusMetrics parses the given Prometheus metrics and returns a map of metric name to metric family.
func StartOTelCollector ¶
Types ¶
type StartOTelCollectorOpt ¶
type StartOTelCollectorOpt func(*startOTelCollectorConf)
func WithStartCollectorPort ¶
func WithStartCollectorPort(port int) StartOTelCollectorOpt
WithStartCollectorPort allows to specify the port on which the collector will be listening for gRPC requests.
Click to show internal directories.
Click to hide internal directories.