package
1.1.2
Repository: https://github.com/iter8-tools/iter8.git
Documentation: pkg.go.dev

# Packages

Package badgerdb implements the storage interface with BadgerDB.
Package client implements an implementation independent storage client.
Package redis implements the storage interface with Redis.

# Functions

GetExperimentResult returns an experiment result retrieved from a key value store.
GetExperimentResultKey returns a performance experiment key from the inputs.
GetMetricKey returns a metric key from the inputs.
GetMetricKeyPrefix returns the prefix of a metric key.
GetUserKey returns a user key from the inputs.
GetUserKeyPrefix returns the prefix of a user key.
GetVolumeUsage gets the available and total capacity of a volume, in that order.

# Structs

MetricSummary contains metric summary for all metrics as well as cumulative metrics per user.
SummarizedMetric is a metric summary.
VersionMetricSummary is a metric summary for a given app version.

# Interfaces

Interface enables interaction with a storage entity Can be mocked in unit tests with fake implementation.

# Type aliases

VersionMetrics contains all the metrics over transactions and over users key = metric name.