Documentation ¶
Index ¶
- Variables
- func CountQueries(conn db.Conn) db.Conn
- func Initialize(logger lager.Logger, riemannAddr string, host string, tags []string, ...)
- func PeriodicallyEmit(logger lager.Logger, interval time.Duration)
- func SetupConnectionCountingDriver(delegateDriverName, sqlDataSource, newDriverName string)
- func WrapHandler(logger lager.Logger, route string, handler http.Handler) http.Handler
- type BuildFinished
- type BuildStarted
- type Conn
- type Driver
- type Event
- type Gauge
- type HTTPReponseTime
- type Meter
- type MetricsHandler
- type SchedulingFullDuration
- type SchedulingJobDuration
- type SchedulingLoadVersionsDuration
- type WorkerContainers
Constants ¶
This section is empty.
Variables ¶
View Source
var DatabaseConnections = &Gauge{}
View Source
var DatabaseQueries = Meter(0)
View Source
var TrackedContainers = &Gauge{}
View Source
var TrackedVolumes = &Gauge{}
Functions ¶
func Initialize ¶
func SetupConnectionCountingDriver ¶
func SetupConnectionCountingDriver(delegateDriverName, sqlDataSource, newDriverName string)
Types ¶
type BuildFinished ¶
type BuildFinished struct { PipelineName string JobName string BuildName string BuildID int BuildStatus db.Status BuildDuration time.Duration }
func (BuildFinished) Emit ¶
func (event BuildFinished) Emit(logger lager.Logger)
type BuildStarted ¶
func (BuildStarted) Emit ¶
func (event BuildStarted) Emit(logger lager.Logger)
type HTTPReponseTime ¶
func (HTTPReponseTime) Emit ¶
func (event HTTPReponseTime) Emit(logger lager.Logger)
type MetricsHandler ¶
func (MetricsHandler) ServeHTTP ¶
func (handler MetricsHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type SchedulingFullDuration ¶
func (SchedulingFullDuration) Emit ¶
func (event SchedulingFullDuration) Emit(logger lager.Logger)
type SchedulingJobDuration ¶
func (SchedulingJobDuration) Emit ¶
func (event SchedulingJobDuration) Emit(logger lager.Logger)
type SchedulingLoadVersionsDuration ¶
func (SchedulingLoadVersionsDuration) Emit ¶
func (event SchedulingLoadVersionsDuration) Emit(logger lager.Logger)
type WorkerContainers ¶
func (WorkerContainers) Emit ¶
func (event WorkerContainers) Emit(logger lager.Logger)
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter This file was generated by counterfeiter
|
This file was generated by counterfeiter This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.