pproflabel

package
v2.37.13 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: AGPL-3.0 Imports: 2 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// ServiceTag should not collide with the pyroscope built-in tag "service".
	// Use `coder_` to avoid collisions.
	ServiceTag = "coder_service"

	ServiceHTTPServer           = "http-api"
	ServiceLifecycles           = "lifecycle-executor"
	ServicePrebuildReconciler   = "prebuilds-reconciler"
	ServiceTerraformProvisioner = "terraform-provisioner"
	ServiceDBPurge              = "db-purge"
	ServiceNotifications        = "notifications"
	ServiceReplicaSync          = "replica-sync"
	// ServiceMetricCollector collects metrics from insights in the database and
	// exports them in a prometheus collector format.
	ServiceMetricCollector = "metrics-collector"
	// ServiceAgentMetricAggregator merges agent metrics and exports them in a
	// prometheus collector format.
	ServiceAgentMetricAggregator = "agent-metrics-aggregator"
	// ServiceTallymanPublisher publishes usage events to coder/tallyman.
	ServiceTallymanPublisher = "tallyman-publisher"
	ServiceUsageEventCron    = "usage-event-cron"
	// ServiceWorkspaceBuildOrchestrator fulfills workspace build
	// orchestrations once their parent build reaches a terminal state.
	ServiceWorkspaceBuildOrchestrator = "workspace-build-orchestrator"
	ServiceUsageEventGenerator        = "usage-event-generator"

	RequestTypeTag = "coder_request_type"
)

Variables

This section is empty.

Functions

func Do

func Do(ctx context.Context, labels pprof.LabelSet, f func(context.Context))

func Go

func Go(ctx context.Context, labels pprof.LabelSet, f func(context.Context))

Go is just a convince wrapper to set off a labeled goroutine.

func Service

func Service(name string, pairs ...string) pprof.LabelSet

Types

This section is empty.

Jump to

Keyboard shortcuts

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