Documentation ¶
Index ¶
- Variables
- func ExtractTraceContextToContext(ctx context.Context, traceContext []byte) (context.Context, error)
- func RetrieveTraceContextFromContext(ctx context.Context) ([]byte, error)
- type AsyncCallMetrics
- func (m *AsyncCallMetrics) AcquireFailed(ctx context.Context, err error)
- func (m *AsyncCallMetrics) Acquired(ctx context.Context, verb schema.RefKey, ...)
- func (m *AsyncCallMetrics) Completed(ctx context.Context, verb schema.RefKey, ...)
- func (m *AsyncCallMetrics) Created(ctx context.Context, verb schema.RefKey, ...)
- func (m *AsyncCallMetrics) Executed(ctx context.Context, verb schema.RefKey, ...)
- func (m *AsyncCallMetrics) RecordQueueDepth(ctx context.Context, queueDepth int64)
- type CallMetrics
- type ControllerTracing
- type CronMetrics
- func (m *CronMetrics) JobFailed(ctx context.Context, job model.CronJob)
- func (m *CronMetrics) JobFailedStart(ctx context.Context, job model.CronJob)
- func (m *CronMetrics) JobKilled(ctx context.Context, job model.CronJob)
- func (m *CronMetrics) JobStarted(ctx context.Context, job model.CronJob)
- func (m *CronMetrics) JobSuccess(ctx context.Context, job model.CronJob)
- type DeploymentMetrics
- func (m *DeploymentMetrics) ReconciliationComplete(ctx context.Context, module string, key string)
- func (m *DeploymentMetrics) ReconciliationFailure(ctx context.Context, module string, key string)
- func (m *DeploymentMetrics) ReconciliationStart(ctx context.Context, module string, key string)
- func (m *DeploymentMetrics) ReplicasUpdated(ctx context.Context, module string, key string, delta int)
- type IngressMetrics
- type PubSubMetrics
- type TimelineMetrics
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AsyncCalls *AsyncCallMetrics Calls *CallMetrics Deployment *DeploymentMetrics Ingress *IngressMetrics PubSub *PubSubMetrics Cron *CronMetrics Controller *ControllerTracing Timeline *TimelineMetrics )
Functions ¶
func ExtractTraceContextToContext ¶ added in v0.326.0
Types ¶
type AsyncCallMetrics ¶ added in v0.313.0
type AsyncCallMetrics struct {
// contains filtered or unexported fields
}
func (*AsyncCallMetrics) AcquireFailed ¶ added in v0.359.0
func (m *AsyncCallMetrics) AcquireFailed(ctx context.Context, err error)
AcquireFailed should be called if an acquisition failed before any call data could be retrieved.
func (*AsyncCallMetrics) RecordQueueDepth ¶ added in v0.320.0
func (m *AsyncCallMetrics) RecordQueueDepth(ctx context.Context, queueDepth int64)
type CallMetrics ¶ added in v0.322.0
type CallMetrics struct {
// contains filtered or unexported fields
}
type ControllerTracing ¶ added in v0.371.0
type ControllerTracing struct {
// contains filtered or unexported fields
}
type CronMetrics ¶ added in v0.324.0
type CronMetrics struct {
// contains filtered or unexported fields
}
func (*CronMetrics) JobFailed ¶ added in v0.324.0
func (m *CronMetrics) JobFailed(ctx context.Context, job model.CronJob)
func (*CronMetrics) JobFailedStart ¶ added in v0.324.0
func (m *CronMetrics) JobFailedStart(ctx context.Context, job model.CronJob)
func (*CronMetrics) JobKilled ¶ added in v0.324.0
func (m *CronMetrics) JobKilled(ctx context.Context, job model.CronJob)
func (*CronMetrics) JobStarted ¶ added in v0.324.0
func (m *CronMetrics) JobStarted(ctx context.Context, job model.CronJob)
func (*CronMetrics) JobSuccess ¶ added in v0.324.0
func (m *CronMetrics) JobSuccess(ctx context.Context, job model.CronJob)
type DeploymentMetrics ¶ added in v0.318.0
type DeploymentMetrics struct {
// contains filtered or unexported fields
}
func (*DeploymentMetrics) ReconciliationComplete ¶ added in v0.318.0
func (m *DeploymentMetrics) ReconciliationComplete(ctx context.Context, module string, key string)
func (*DeploymentMetrics) ReconciliationFailure ¶ added in v0.318.0
func (m *DeploymentMetrics) ReconciliationFailure(ctx context.Context, module string, key string)
func (*DeploymentMetrics) ReconciliationStart ¶ added in v0.318.0
func (m *DeploymentMetrics) ReconciliationStart(ctx context.Context, module string, key string)
func (*DeploymentMetrics) ReplicasUpdated ¶ added in v0.318.0
type IngressMetrics ¶ added in v0.329.0
type IngressMetrics struct {
// contains filtered or unexported fields
}
type PubSubMetrics ¶ added in v0.309.0
type PubSubMetrics struct {
// contains filtered or unexported fields
}
func (*PubSubMetrics) PropagationFailed ¶ added in v0.310.0
func (*PubSubMetrics) Published ¶ added in v0.309.0
func (m *PubSubMetrics) Published(ctx context.Context, module, topic, caller string, maybeErr error)
func (*PubSubMetrics) SinkCalled ¶ added in v0.310.0
func (m *PubSubMetrics) SinkCalled(ctx context.Context, topic model.TopicPayload, optCaller optional.Option[string], subscription, sink schema.RefKey)
type TimelineMetrics ¶ added in v0.373.1
type TimelineMetrics struct {
// contains filtered or unexported fields
}
func (*TimelineMetrics) Dropped ¶ added in v0.373.1
func (m *TimelineMetrics) Dropped(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.