metrics

package
v0.0.35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2021 License: Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UUID            = "uuid"
	Status          = "status"
	Miner           = "miner"
	MaxPriceAttoFIL = "max_price_atto_fil"
	Size            = "size"
	StartOffset     = "start_offset"
	FastRetrieval   = "fast_retrieval"
	Verified        = "verified"
	PayloadCID      = "payload_cid"
	CARExport       = "car_export"
)

Labels for fields in metrics

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricsRecorder

type MetricsRecorder interface {
	Handler() http.Handler
	ObserveTask(tasks.Task) error
}

MetricsRecorder abstracts the process of recording metrics for tasks

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL