Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option opts for monitor prometheus
func WithDisableServer ¶
WithDisableServer disable prometheus server
func WithEnableGoCollector ¶
WithEnableGoCollector enable go collector
func WithGoCollectorRule ¶
func WithGoCollectorRule(rules ...collectors.GoRuntimeMetricsRule) Option
WithGoCollectorRule define your custom go collector rule
func WithHistogramBuckets ¶
WithHistogramBuckets define your custom histogram buckets base on your biz
Click to show internal directories.
Click to hide internal directories.