package
0.0.54
Repository: https://github.com/filecoin-project/dealbot.git
Documentation: pkg.go.dev

# Functions

NewPrometheusMetricsRecorder returns a recorder that is connected to prometheus.

# Constants

Duration is the name of our metric -- the duration it took to get to the given status.
Help is a description of what duration measures.
Namespace is the name space for metrics exported to prometheus.
RetrievalTasks is the subsystem to record retrieval tasks metrics.
StorageTasks is the subsystem to record storage task metrics.

# Variables

Buckets are the default histogram buckets for measuring duration (essentially, second, minute, hour, day, and everything else).
RetrievalLabels are the way we categorize retrieval tasks TODO: do we want ALL of these labels? Do PayloadCID/CARExport matter here?.
StorageLabels are the ways we categorize storage tasks TODO: do we want ALL of these labels? It will mean a LOT of data.