Documentation ¶
Overview ¶
Package promplot provides tools for fetching, plotting and sharing Prometheus metrics data. This tools are used by the promplot binary but can also be independently use by other Go programs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Metrics ¶
func Metrics(server, query string, queryTime time.Time, duration, step time.Duration) (model.Matrix, error)
Metrics fetches data from Prometheus.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.