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) 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 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 FSMMetrics
- func (m *FSMMetrics) InstanceCompleted(ctx context.Context, fsm schema.RefKey)
- func (m *FSMMetrics) InstanceCreated(ctx context.Context, fsm schema.RefKey)
- func (m *FSMMetrics) TransitionCompleted(ctx context.Context, fsm schema.RefKey)
- func (m *FSMMetrics) TransitionStarted(ctx context.Context, fsm schema.RefKey, destState schema.RefKey)
- type IngressMetrics
- type PubSubMetrics
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AsyncCalls *AsyncCallMetrics Calls *CallMetrics Deployment *DeploymentMetrics FSM *FSMMetrics Ingress *IngressMetrics PubSub *PubSubMetrics Cron *CronMetrics )
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) 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 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 FSMMetrics ¶ added in v0.308.0
type FSMMetrics struct {
// contains filtered or unexported fields
}
func (*FSMMetrics) InstanceCompleted ¶ added in v0.308.0
func (m *FSMMetrics) InstanceCompleted(ctx context.Context, fsm schema.RefKey)
func (*FSMMetrics) InstanceCreated ¶ added in v0.308.0
func (m *FSMMetrics) InstanceCreated(ctx context.Context, fsm schema.RefKey)
func (*FSMMetrics) TransitionCompleted ¶ added in v0.308.0
func (m *FSMMetrics) TransitionCompleted(ctx context.Context, fsm schema.RefKey)
func (*FSMMetrics) TransitionStarted ¶ added in v0.308.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)
Click to show internal directories.
Click to hide internal directories.