integrator

package
v0.0.0-...-6993647 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IntegratorCreateServiceIntegrationErrorsTotal = prometheus.NewCounter(prometheus.CounterOpts{
		Name: "integrator_create_service_integration_errors_total",
		Help: "Counter of total number of Aiven create service integration failures",
	})

	IntegratorCreateServiceIntegrationsTotal = prometheus.NewCounter(prometheus.CounterOpts{
		Name: "integrator_create_service_integrations_total",
		Help: "Counter of total number of calls to create a service integration",
	})
)

Functions

This section is empty.

Types

type Integrator

type Integrator interface {
	Start()
	Stop()

	SetInterval(time.Duration)
}

func NewIntegrator

func NewIntegrator(
	aivenProject string,
	aivenAPIToken string,
	aivenPrometheusEndpointID string,

	fetcher f.Fetcher,

	logger lager.Logger,
) (Integrator, error)

Jump to

Keyboard shortcuts

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