Documentation ¶
Overview ¶
Package prometheus provides a framework for defining and collecting metrics for prometheus.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeMetrics ¶
func MakeMetrics(namespace, subsystem string) (*kitprometheus.Counter, *kitprometheus.Summary)
MakeMetrics returns an instance of Prometheus implementations for metrics. It returns a request counter and a request latency summary.
counter, latency := metrics.MakeMetrics("demo-service", "api")
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.