Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrometheusDiscovery ¶
type PrometheusDiscovery struct {
// contains filtered or unexported fields
}
func NewPrometheusDiscovery ¶
func NewPrometheusDiscovery(options PrometheusDiscoveryOptions, observability *common.Observability) *PrometheusDiscovery
func (*PrometheusDiscovery) Discover ¶
func (pd *PrometheusDiscovery) Discover()
type PrometheusDiscoveryOptions ¶
type PrometheusDiscoveryOptions struct {
URL string
Timeout int
Insecure bool
Query string
QueryPeriod string
QueryStep string
Metric string
Service string
Schedule string
BaseTemplate string
Vars string
TelegrafLabels string
TelegrafFiles string
TelegrafTemplate string
TelegrafChecksum bool
TelegrafOptions common.TelegrafConfigOptions
}
type PrometheusDiscoveryResponse ¶
type PrometheusDiscoveryResponse struct {
Status string `json:"status"`
Data *PrometheusDiscoveryResponseData `json:"data"`
}
type PrometheusDiscoveryResponseData ¶
type PrometheusDiscoveryResponseData struct {
ResultType string `json:"resultType"`
Result []*PrometheusDiscoveryResponseDataVector `json:"result"`
}
Click to show internal directories.
Click to hide internal directories.