Documentation
¶
Index ¶
- Constants
- type CorrelatedResponse
- type CorrelationExplorer
- func (c *CorrelationExplorer) DumpMetricCache(w http.ResponseWriter, r *http.Request)
- func (c *CorrelationExplorer) GetCorrelatedSeries(w http.ResponseWriter, r *http.Request)
- func (c *CorrelationExplorer) GetMetricHistory(w http.ResponseWriter, r *http.Request)
- func (c *CorrelationExplorer) GetMetricInfo(w http.ResponseWriter, r *http.Request)
- func (c *CorrelationExplorer) GetStrides(w http.ResponseWriter, r *http.Request)
- func (c *CorrelationExplorer) GetSubgraphEdges(w http.ResponseWriter, r *http.Request)
- func (c *CorrelationExplorer) GetSubgraphNodes(w http.ResponseWriter, r *http.Request)
- func (c *CorrelationExplorer) GetSubgraphs(w http.ResponseWriter, r *http.Request)
- func (c *CorrelationExplorer) GetTimeline(w http.ResponseWriter, r *http.Request)
- func (c *CorrelationExplorer) GetTimeseries(w http.ResponseWriter, r *http.Request)
- func (c *CorrelationExplorer) Initialize(baseUrl string, maxAgeSeconds int, dropLabels []string) error
- type Data
- type PromQueryResponse
- type Result
- type Stride
- type StrideState
- type TimelineResponse
- type TimeseriesResponse
Constants ¶
View Source
const ( StrideExists = iota StrideRead StrideProcessing StrideProcessed StrideRetrying StrideError StrideDeleted )
View Source
const (
MAX_GRAPH_SIZE = 1500
)
View Source
const (
STRIDE_CACHE_SIZE = 10
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CorrelatedResponse ¶
type CorrelatedResponse struct {
}
type CorrelationExplorer ¶
type CorrelationExplorer struct {
FilenameBase string
// contains filtered or unexported fields
}
func (*CorrelationExplorer) DumpMetricCache ¶
func (c *CorrelationExplorer) DumpMetricCache(w http.ResponseWriter, r *http.Request)
func (*CorrelationExplorer) GetCorrelatedSeries ¶
func (c *CorrelationExplorer) GetCorrelatedSeries(w http.ResponseWriter, r *http.Request)
func (*CorrelationExplorer) GetMetricHistory ¶
func (c *CorrelationExplorer) GetMetricHistory(w http.ResponseWriter, r *http.Request)
func (*CorrelationExplorer) GetMetricInfo ¶
func (c *CorrelationExplorer) GetMetricInfo(w http.ResponseWriter, r *http.Request)
func (*CorrelationExplorer) GetStrides ¶
func (c *CorrelationExplorer) GetStrides(w http.ResponseWriter, r *http.Request)
func (*CorrelationExplorer) GetSubgraphEdges ¶
func (c *CorrelationExplorer) GetSubgraphEdges(w http.ResponseWriter, r *http.Request)
Get the edges list for one subgraph.
func (*CorrelationExplorer) GetSubgraphNodes ¶
func (c *CorrelationExplorer) GetSubgraphNodes(w http.ResponseWriter, r *http.Request)
Get the nodes list for one subgraph.
func (*CorrelationExplorer) GetSubgraphs ¶
func (c *CorrelationExplorer) GetSubgraphs(w http.ResponseWriter, r *http.Request)
func (*CorrelationExplorer) GetTimeline ¶
func (c *CorrelationExplorer) GetTimeline(w http.ResponseWriter, r *http.Request)
func (*CorrelationExplorer) GetTimeseries ¶
func (c *CorrelationExplorer) GetTimeseries(w http.ResponseWriter, r *http.Request)
func (*CorrelationExplorer) Initialize ¶
func (c *CorrelationExplorer) Initialize(baseUrl string, maxAgeSeconds int, dropLabels []string) error
type PromQueryResponse ¶
type Result ¶
type Result struct {
Metric map[string]string `json:"metric"`
Values [][]interface{} `json:"values"`
}
Result represents each time series in the response.
type Stride ¶
type Stride struct {
ID int
StartTime int64
EndTime int64
StartTimeString string
EndTimeString string
Status StrideState
Filename string
// contains filtered or unexported fields
}
Stride collects metadata about a stride.
type StrideState ¶
type StrideState int
func (StrideState) String ¶
func (s StrideState) String() string
type TimelineResponse ¶
type TimelineResponse struct {
Time string `json:"time"` // This must be in YYYY-MM-DDTHH:MM:SSZ format
Metric string `json:"metric"`
State string `json:"state"`
}
This is what the timeline panel wants.
type TimeseriesResponse ¶
Click to show internal directories.
Click to hide internal directories.