{"modulePath":"github.com/AliceO2Group/Control","version":"v1.51.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package metrics\n\nDeprecated: package metrics is being phased out, don't use it.\n\n## Constants\n\n```go\nconst (\n\tSubsystem = \"o2control_scheduler\"\n)\n```\n\n## Variables\n\n```go\nvar (\n\tCallErrorCount = prometheus.NewCounterVec(prometheus.CounterOpts{\n\t\tSubsystem: Subsystem,\n\t\tName:      \"call_error_count\",\n\t\tHelp:      \"The number of errors for outgoing calls.\",\n\t}, []string{\"type\"})\n\tCallCount = prometheus.NewCounterVec(prometheus.CounterOpts{\n\t\tSubsystem: Subsystem,\n\t\tName:      \"call_count\",\n\t\tHelp:      \"The number of outgoing calls.\",\n\t}, []string{\"type\"})\n\tCallLatency = prometheus.NewSummaryVec(prometheus.SummaryOpts{\n\t\tSubsystem: Subsystem,\n\t\tName:      \"call_latency\",\n\t\tHelp:      \"Time to execute various calls, by type.\",\n\t}, []string{\"type\"})\n\tEventErrorCount = prometheus.NewCounterVec(prometheus.CounterOpts{\n\t\tSubsystem: Subsystem,\n\t\tName:      \"event_error_count\",\n\t\tHelp:      \"The number of event processing errors.\",\n\t}, []string{\"type\"})\n\tEventReceivedCount = prometheus.NewCounterVec(prometheus.CounterOpts{\n\t\tSubsystem: Subsystem,\n\t\tName:      \"event_received_count\",\n\t\tHelp:      \"The number of events received.\",\n\t}, []string{\"type\"})\n\tEventReceivedLatency = prometheus.NewSummaryVec(prometheus.SummaryOpts{\n\t\tSubsystem: Subsystem,\n\t\tName:      \"event_received_latency\",\n\t\tHelp:      \"Time to process various events, by type.\",\n\t}, []string{\"type\"})\n\tOffersReceived = prometheus.NewCounter(prometheus.CounterOpts{\n\t\tSubsystem: Subsystem,\n\t\tName:      \"offers_received\",\n\t\tHelp:      \"The number of individual offers received.\",\n\t})\n\tOffersDeclined = prometheus.NewCounter(prometheus.CounterOpts{\n\t\tSubsystem: Subsystem,\n\t\tName:      \"offers_declined\",\n\t\tHelp:      \"The number of offers declined.\",\n\t})\n\tTasksFinished = prometheus.NewCounter(prometheus.CounterOpts{\n\t\tSubsystem: Subsystem,\n\t\tName:      \"tasks_finished\",\n\t\tHelp:      \"The number of tasks finished.\",\n\t})\n\tTasksLaunched = prometheus.NewCounter(prometheus.CounterOpts{\n\t\tSubsystem: Subsystem,\n\t\tName:      \"tasks_launched\",\n\t\tHelp:      \"The number of tasks launched.\",\n\t})\n\tJobStartCount = prometheus.NewCounterVec(prometheus.CounterOpts{\n\t\tSubsystem: Subsystem,\n\t\tName:      \"job_start_count\",\n\t\tHelp:      \"The number of internal background jobs started.\",\n\t}, []string{\"job\"})\n\tOfferedResources = prometheus.NewSummaryVec(prometheus.SummaryOpts{\n\t\tSubsystem: Subsystem,\n\t\tName:      \"offered_resources\",\n\t\tHelp:      \"Scalar resources offered by type.\",\n\t}, []string{\"type\"})\n\tTasksLaunchedPerOfferCycle = prometheus.NewSummary(prometheus.SummaryOpts{\n\t\tSubsystem: Subsystem,\n\t\tName:      \"tasks_launched_per_cycle\",\n\t\tHelp:      \"Number of tasks launched per-offers cycle (event).\",\n\t})\n\tArtifactDownloads = prometheus.NewCounter(prometheus.CounterOpts{\n\t\tSubsystem: Subsystem,\n\t\tName:      \"artifact_downloads\",\n\t\tHelp:      \"The number of artifacts served by the built-in http server.\",\n\t})\n)\n```\n\n## Functions\n\n```go\nfunc Register()\n```\n\n","path":"github.com/AliceO2Group/Control/core/metrics","name":"metrics","synopsis":"Deprecated: package metrics is being phased out, don't use it.","isRedistributable":true}
