Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
Options struct which represents a prometheus plugin for chi.
func NewOptions ¶
NewOptions returns options from config file or environment vars.
func NewOptionsWithPath ¶
NewOptionsWithPath returns options from config path.
type Prometheus ¶
type Prometheus struct {
// contains filtered or unexported fields
}
func NewPrometheusWithConfigPath ¶
func NewPrometheusWithConfigPath(path string) (*Prometheus, error)
func NewPrometheusWithOptions ¶
func NewPrometheusWithOptions(options *Options) *Prometheus
Click to show internal directories.
Click to hide internal directories.