Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BuildVersion string
BuildVersion is provided to be overridden at build time. Eg. go build -ldflags -X 'main.BuildVersion=...'
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App is the main carbonapi runnable
type PrometheusMetrics ¶
type PrometheusMetrics struct { Requests prometheus.Counter Responses *prometheus.CounterVec DurationsExp prometheus.Histogram DurationsLin prometheus.Histogram TimeInQueue prometheus.Histogram }
PrometheusMetrics are metrix exported via /metrics endpoint for Prom scraping
type RuleConfig ¶
type RuleConfig struct {
Rules []Rule
}
Click to show internal directories.
Click to hide internal directories.