...

Package metrics

import "scheduler/metrics"
Overview
Index

Overview ▾

Package metrics implements prometheus metrics logging.

func PostJobInvocations

func PostJobInvocations(fnName string, code int)

func PostJobIsForwarded

func PostJobIsForwarded(fnName string)

func PostJobMetrics

func PostJobMetrics(fnName string, code int, hops int, queueTime float64, execTime float64, faasExecutionTime float64)

func PostParallelJobsSlots

func PostParallelJobsSlots(n int)

func PostQueueAssignedSlot

func PostQueueAssignedSlot()

func PostQueueFreedSlot

func PostQueueFreedSlot()

func PostQueueSize

func PostQueueSize(n int)

func PostStartedExecutingJob

func PostStartedExecutingJob()

func PostStoppedExecutingJob

func PostStoppedExecutingJob()

func Start

func Start()