Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrometheusHandler ¶
type PrometheusHandler struct {
// contains filtered or unexported fields
}
func NewPrometheusHandler ¶
func NewPrometheusHandler(namespace *string) *PrometheusHandler
func (*PrometheusHandler) HandleRequest ¶
func (h *PrometheusHandler) HandleRequest(path, method string, status int, duration time.Duration)
func (*PrometheusHandler) InitMetric ¶
func (h *PrometheusHandler) InitMetric(path, method string)
Click to show internal directories.
Click to hide internal directories.