influxdb

package
v0.0.1-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package influxdb implements a health check for InfluxDB instance.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config Config) func(ctx context.Context) error

New returns a check function. It uses InfluxDB health api to get status of the instance.

Types

type Config

type Config struct {
	URL string
}

Config stores InfluxDB API host and possibly parameters.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL