Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LabelMapper = struct { LabelSelectorKeys []string PrometheusLabels []string }{ LabelSelectorKeys: []string{string(metrics.LabelSelectorKeyNamespace), string(metrics.LabelSelectorKeyPodName), string(metrics.LabelSelectorKeyContainerName)}, PrometheusLabels: []string{labelNamespace, labelPodName, labelContainerName}, } )
Functions ¶
func NewQueryRequestFactory ¶
func NewQueryRequestFactory(q metrics.Query, opts ...factory.QueryRequestFactoryOpts) metrics.BackendQueryRequestFactory
Types ¶
type QueryRequestFactory ¶
type QueryRequestFactory struct { Query metrics.Query FactoryOpt factory.QueryRequestFactoryOpt }
func (*QueryRequestFactory) BuildServiceRequest ¶
func (f *QueryRequestFactory) BuildServiceRequest() (interface{}, error)
Click to show internal directories.
Click to hide internal directories.