e2emonitoring

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2022 License: Apache-2.0 Imports: 18 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithCustomRegistry added in v0.12.0

func WithCustomRegistry(reg *prometheus.Registry) func(*opt)

WithCustomRegistry allows injecting a custom registry to use for this process metrics. NOTE(bwplotka): Injected registry will be used as is, while the default registry will have prometheus.NewGoCollector() and prometheus.NewProcessCollector(..) registered.

func WithScrapeInterval added in v0.11.1

func WithScrapeInterval(interval time.Duration) func(*opt)

WithScrapeInterval changes how often metrics are scrape by Prometheus. 5s by default.

Types

type Option added in v0.11.0

type Option func(*opt)

type Service added in v0.10.0

type Service struct {
	// contains filtered or unexported fields
}

func Start added in v0.10.0

func Start(env e2e.Environment, opts ...Option) (_ *Service, err error)

Start deploys monitoring service which deploys Prometheus that monitors all registered InstrumentedServices in environment.

func (*Service) OpenUserInterfaceInBrowser added in v0.10.0

func (s *Service) OpenUserInterfaceInBrowser(paths ...string) error

Jump to

Keyboard shortcuts

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