<|start_filename|>metrics/labels.go<|end_filename|>
package metrics

// Labels for fields in metrics
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"
)


<|start_filename|>commands/mock_tasks.go<|end_filename|>
package commands

import (
	"context"

	"github.com/filecoin-project/dealbot/testutil"
	"github.com/urfave/cli/v2"
)

// MockTasksCmd generates a series of mock tasks and adds them to the controller
var MockTasksCmd = &cli.Command{
	Name:   "mock_tasks",
	Usage:  "Generate tasks to run on the mock dealbot",
	Flags:  append(EndpointFlags, MockTaskFlags...),
	Action: mockTasksCommand,
}

func mockTasksCommand(cctx *cli.Context) error {
	ctx, cancel := context.WithCancel(ProcessContext())
	defer cancel()

	return testutil.GenerateMockTasks(ctx, cctx)
}
