Documentation
¶
Overview ¶
Package metrics implements an HTTP service that exposes A/B/n SDK metrics
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GrafanaHistogram ¶
type GrafanaHistogram []GrafanaHistogramBucket
GrafanaHistogram represents the histogram in the Grafana Iter8 dashboard
type GrafanaHistogramBucket ¶
type GrafanaHistogramBucket struct {
// Version is the version of the application
Version string
// Bucket is the bucket of the histogram
// For example: 8-12
Bucket string
// Value is the number of points in this bucket
Value float64
}
GrafanaHistogramBucket represents a bucket in the histogram in the Grafana Iter8 dashboard
type MetricSummary ¶
type MetricSummary struct {
HistogramsOverTransactions *GrafanaHistogram
HistogramsOverUsers *GrafanaHistogram
SummaryOverTransactions []*VersionSummarizedMetric
SummaryOverUsers []*VersionSummarizedMetric
}
MetricSummary is result for a metric
type VersionSummarizedMetric ¶
type VersionSummarizedMetric struct {
Version int
storage.SummarizedMetric
}
VersionSummarizedMetric adds version to summary data
Click to show internal directories.
Click to hide internal directories.