pproflabel

package
v2.29.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: AGPL-3.0 Imports: 2 Imported by: 0

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"

	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