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 FindNotFound prometheus.Counter RenderPartialFail prometheus.Counter RequestCancel *prometheus.CounterVec DurationExp prometheus.Histogram DurationLin prometheus.Histogram RenderDurationExp prometheus.Histogram RenderDurationLinSimple prometheus.Histogram RenderDurationExpSimple prometheus.Histogram RenderDurationExpComplex prometheus.Histogram RenderDurationPerPointExp prometheus.Histogram FindDurationExp prometheus.Histogram FindDurationLin prometheus.Histogram FindDurationLinSimple prometheus.Histogram FindDurationLinComplex prometheus.Histogram TimeInQueueExp prometheus.Histogram TimeInQueueLin prometheus.Histogram ActiveUpstreamRequests prometheus.Gauge WaitingUpstreamRequests prometheus.Gauge }
PrometheusMetrics are metrix exported via /metrics endpoint for Prom scraping
Click to show internal directories.
Click to hide internal directories.