package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Oct 3, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
takes arbitratry amount of prometheus responses in json format
merges all of the results into one "success"-ful
type Data struct {
ResultType string `json:"resultType"`
Result []Result `json:"result"`
}
type Output struct {
Status string `json:"status"`
Data interface{} `json:"data"`
}
type Result struct {
Metric map[string]string `json:"metric"`
Values Values `json:"values,omitempty"`
Value interface{} `json:"value,omitempty"`
}
type Values [][]interface{}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.