Versions in this module Expand all Collapse all v1 v1.1.0 Aug 7, 2019 Changes in this version + var ErrConsumerAlreadyRegistered = errors.New("consumer already registered") + var ErrInitialCallTimeout = errors.New("initial cluster info call timed out") + type Response struct + ClusterName string + ClusterUUID string + Name string + Tagline string + Version VersionInfo + type Retriever struct + func New(logger log.Logger, client *http.Client, u *url.URL, interval time.Duration) *Retriever + func (r *Retriever) Collect(ch chan<- prometheus.Metric) + func (r *Retriever) Describe(ch chan<- *prometheus.Desc) + func (r *Retriever) RegisterConsumer(c consumer) error + func (r *Retriever) Run(ctx context.Context) error + func (r *Retriever) Update() + type VersionInfo struct + BuildDate string + BuildHash string + BuildSnapshot bool + LuceneVersion semver.Version + Number semver.Version