package
0.0.0-20250226171102-4db14ec44d68
Repository: https://github.com/cozy/cozy-stack.git
Documentation: pkg.go.dev

# Functions

Routes set the /metrics routes.

# Constants

WorkerExecResultErrored for errored result label.
WorkerExecResultSuccess for success result label.

# Variables

HTTPTotalDurations is a summary metric of the durations of http requests, labelled by method and status code.
WorkerExecCounter is a counter number of total executions, without counting retries, of the workers labelled by worker type and result.
WorkerExecDurations is a histogram metric of the execution duration in seconds of the workers labelled by worker type and result.
WorkerExecRetries is a histogram metric of the number of retries of the workers labelled by worker type.
WorkerExecTimeoutsCounter is a counter number of total timeouts, labelled by worker type and slug.
WorkerKonnectorExecDeleteCounter is a counter number of total executions, without counting retries, of the konnectors jobs with the "accound_deleted: true" parameter.
WorkersKonnectorsExecDurations is a histogram metric of the number of execution durations of the commands executed for konnectors and services, labelled by application slug.