Documentation
¶
Index ¶
Constants ¶
View Source
const ( LabelWorkerName string = "worker_name" LabelStage string = "stage" StageAccepted string = "accepted" StageDownloading string = "downloading" StageEncoding string = "encoding" StageUploading string = "uploading" StageMetadataFill string = "metadata_fill" StageLibraryAdd string = "library_add" )
Variables ¶
View Source
var ( RequestsPublished = prometheus.NewCounter(prometheus.CounterOpts{ Name: "requests_published", }) RequestsCompleted = prometheus.NewCounterVec(prometheus.CounterOpts{ Name: "requests_completed", }, []string{LabelWorkerName}) Capacity = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Name: "capacity", }, []string{LabelWorkerName}) Running = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Name: "running", }, []string{LabelWorkerName}) TranscodedSeconds = prometheus.NewCounter(prometheus.CounterOpts{ Name: "transcoded_seconds", }) TranscodedCount = prometheus.NewCounter(prometheus.CounterOpts{ Name: "transcoded_count", }) SpentSeconds = prometheus.NewCounterVec(prometheus.CounterOpts{ Name: "spent_seconds", }, []string{LabelStage}) StageRunning = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Name: "stage_running", }, []string{LabelStage}) InputBytes = prometheus.NewCounter(prometheus.CounterOpts{ Name: "input_bytes", }) OutputBytes = prometheus.NewCounter(prometheus.CounterOpts{ Name: "output_bytes", }) ErrorsCount = prometheus.NewCounterVec(prometheus.CounterOpts{ Name: "errors_count", }, []string{LabelStage}) )
Functions ¶
func RegisterConductorMetrics ¶
func RegisterConductorMetrics()
func RegisterWorkerMetrics ¶
func RegisterWorkerMetrics()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.