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
WithScrapeInterval changes how often metrics are scrape by Prometheus. 5s by default.
Types ¶
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
Click to show internal directories.
Click to hide internal directories.