Versions in this module Expand all Collapse all v1 v1.8.1 Oct 20, 2026 v1.8.0 Oct 18, 2026 Changes in this version + const ActionDeploy + const ActionProvision + const ActionRetire + const ActionRollback + const AttrBootstrapDesired + const AttrBootstrapFailed + const AttrBootstrapHook + const AttrBootstrapID + const AttrBootstrapProvisioned + const AttrBootstrapRetired + const AttrDatacenterID + const AttrDeploymentID + const AttrDeploymentRollback + const AttrDeploymentServices + const AttrDeploymentStrategy + const AttrGCReaped + const AttrGCTenants + const AttrGCTenantsFailed + const AttrHealthCheckID + const AttrHealthCheckType + const AttrHealthStatus + const AttrInstanceID + const AttrManagedRefusal + const AttrManagedStep + const AttrProviderHealthy + const AttrProviderNotFound + const AttrProviderOperation + const AttrProviderType + const AttrProvidersChecked + const AttrProvidersFailing + const AttrReadinessOutcome + const AttrReadinessPolls + const AttrReconcileDatacenters + const AttrReconcileFailed + const AttrReplicaAdopted + const AttrSourceType + const AttrWorkloadID + const AttrWorkloadReplica + const HealthHealthy + const HealthUnhealthy + const InstrumentationName + const LabelAction + const LabelCheckType + const LabelEvent + const LabelHook + const LabelOperation + const LabelProvider + const LabelResult + const LabelStatus + const LabelStrategy + const LabelWorker + const LeaderFollower + const LeaderLeader + const MetricBootstrapActions + const MetricDatacenterReconciles + const MetricDeploymentDuration + const MetricGCInstancesReaped + const MetricGCTenantSweeps + const MetricHealthCheckDuration + const MetricLeaderChecks + const MetricLifecycleEvents + const MetricPluginHookErrors + const MetricProviderCallDuration + const MetricProviderHealthChecks + const MetricReadinessWait + const MetricResolverDuration + const MetricResourcePollers + const MetricResourceSamples + const MetricSchedulerLeader + const MetricWorkerRunDuration + const MetricWorkerRunsSkipped + const OpDeploy + const OpDeprovision + const OpLogs + const OpProvision + const OpResources + const OpRestart + const OpScale + const OpStart + const OpStatus + const OpStop + const ProviderCustom + const ResultError + const ResultNotFound + const ResultOK + const SampleEmpty + func Detach(ctx context.Context) context.Context + func ErrorType(err error, extra ...Sentinel) string + func Fail(span trace.Span, err error, extra ...Sentinel) + func FailClass(span trace.Span, class string) + func IsNotFound(err error) bool + func MethodSpanName(_ string, req *http.Request) string + func ProviderLabel(providerType string) string + func RedactedTracerProvider() trace.TracerProvider + func Result(err error) string + func Start(ctx context.Context, name string, opts ...trace.SpanStartOption) (context.Context, trace.Span) + func StartChild(ctx context.Context, name string, opts ...trace.SpanStartOption) (context.Context, trace.Span) + func StartRoot(ctx context.Context, name string, opts ...trace.SpanStartOption) (context.Context, trace.Span) + func Traced(req *http.Request) bool + func Tracer() trace.Tracer + func Transport(rt http.RoundTripper) http.RoundTripper + type Metrics struct + func NewMetrics(m gometrics.MetricFactory) *Metrics + func (m *Metrics) BootstrapAction(action string, err error) + func (m *Metrics) CredentialsResolved(took time.Duration, err error) + func (m *Metrics) DatacenterReconciled(err error) + func (m *Metrics) DeploymentFinished(strategy, action string, took time.Duration, err error) + func (m *Metrics) GCInstanceReaped(err error) + func (m *Metrics) GCTenantSwept(err error) + func (m *Metrics) HealthChecked(checkType, status string, took time.Duration) + func (m *Metrics) LeaderCheck(leader bool, err error) + func (m *Metrics) LifecycleEvent(eventType string) + func (m *Metrics) PluginHookFailed(hook string) + func (m *Metrics) ProviderHealthChecked(providerType, result string, took time.Duration) + func (m *Metrics) ReadinessWaited(outcome string, took time.Duration) + func (m *Metrics) ResourceSampled(result string) + func (m *Metrics) SetLeader(leader bool) + func (m *Metrics) SetResourcePollers(n int) + func (m *Metrics) StartProviderCall(ctx context.Context, providerType, op string, attrs ...attribute.KeyValue) (context.Context, *ProviderCall) + func (m *Metrics) WorkerRun(worker string, took time.Duration, err error) + func (m *Metrics) WorkerSkipped(worker string) + type ProviderCall struct + func (c *ProviderCall) End(err error) + func (c *ProviderCall) EndPoll(err error) + type Sentinel struct + Err error + Name string