Documentation ¶
Index ¶
- func ConstructURL(address string, port string, ssl bool) string
- func FillColumnHeads(queryResults []model.Value) (labelNames, metricNames []string)
- func GetMetrics(client api.Client, startTime time.Time, endTime time.Time) (model.LabelValues, error)
- func GetPromClient() (api.Client, error)
- func GetQueryTimes() (time.Time, time.Time)
- func GetSamples(client api.Client, metric string, startTime time.Time, endTime time.Time) (model.Value, error)
- func MetricsToTable(queryResults []model.Value, cube Cube, database *frostdb.DB) error
- type Cube
- type Entry
- type Platon
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConstructURL ¶
ConstructURL builds a URL and returns it as string
func FillColumnHeads ¶
func GetMetrics ¶
func GetPromClient ¶
func GetQueryTimes ¶
GetQueryTimes sets startTime to now and endTime one hour in the past
func GetSamples ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.