# Functions
AsInstrumented wraps e2e.Runnable with InstrumentedRunnable.
Equals is an MetricValueExpectation function for WaitSumMetrics that returns true if given single sum is equals to given value.
EqualsAmongTwo is an isExpected function for WaitSumMetrics that returns true if first sum is equal to the second.
No description provided by the author
Greater is an isExpected function for WaitSumMetrics that returns true if given single sum is greater than given value.
GreaterAmongTwo is an isExpected function for WaitSumMetrics that returns true if first sum is greater than second.
GreaterOrEqual is an isExpected function for WaitSumMetrics that returns true if given single sum is greater or equal than given value.
Less is an isExpected function for WaitSumMetrics that returns true if given single sum is less than given value.
LessAmongTwo is an isExpected function for WaitSumMetrics that returns true if first sum is smaller than second.
No description provided by the author
No description provided by the author
SkipMissingMetrics is an option to skip/ignore whenever an expected metric is missing.
Start deploys monitoring service which deploys Prometheus that monitors all InstrumentedRunnable instances in an environment created with AsInstrumented.
No description provided by the author
WaitMissingMetrics is an option to wait whenever an expected metric is missing.
No description provided by the author
WithCustomRegistry allows injecting a custom registry to use for this process metrics.
WithInstrumentedMetricPath sets a custom path for metrics page.
WithInstrumentedScheme allows adding customized scheme.
WithInstrumentedWaitBackoff allows customizing wait backoff when accessing metric endpoint.
WithLabelMatchers is an option to filter only matching series.
WithMetricCount is an option to get the histogram/summary count as metric value.
WithPrometheusImage allows injecting custom Prometheus docker image to use as scraper and queryable.
WithScrapeInterval changes how often metrics are scrape by Prometheus.
WithWaitBackoff is an option to configure a backoff when waiting on a metric value.
# Structs
CompositeInstrumentedRunnable abstract a higher-level service composed by more than one InstrumentedRunnable.
InstrumentedRunnable represents runnable with instrumented Prometheus metric endpoint on a certain port.
No description provided by the author
No description provided by the author
Target represents scrape target for Prometheus to use.
# Interfaces
Instrumented represents methods for instrumented runnable focused on accessing instrumented metrics.
# Type aliases
InstrumentedOption is a variadic option for AsInstrumented.
MetricsOption defined the signature of a function used to manipulate options.
No description provided by the author
No description provided by the author