Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseContent ¶ added in v1.8.2
func ParseContent(content []byte, modulePrefix string, isShowAll bool) []prometheus.Metric
func RequestHandler ¶
func RequestHandler(w http.ResponseWriter, r *http.Request)
Types ¶
type ExporterConfig ¶
type ExporterConfig struct {
ListenAddress string `json:"listen"`
Codes []CodeMap `json:"codeMaps"`
Metrics []MetricType `json:"metrics"`
TargetServers []TargetServer `json:"servers"`
}
type MetricType ¶
type TargetServer ¶
Click to show internal directories.
Click to hide internal directories.