You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instrument the Keptn Lifecycle Operator with the OTel SDK to export traces.
Technical Details
Use OTel Go to manually instrument the code to export the following spans as a single trace:
The Trace Context should be propagated into the CRDs via a common metadata field TraceContext. The context will be propagated using this immutable map.
Each component should have its own tracer:
Scheduler: keptn/scheduler
Webhook: keptn/webhook
Workload: keptn/operator/workload
WorkloadInstance: keptn/operator/workloadinstance
Task: keptn/operator/task
TaskInstance: keptn/operator/taskinstance
Each Span should be created with the following OTel Attribute:
KeptnApp as keptn.deployment.app_name
KeptnWorkload as keptn.deployment.workload
KeptnVersion as keptn.deployment.version
The webhook is the one that always starts a trace.
The scheduler should create a Client Span for each reconciliation.
DoD
The Lifecycle Controller generates the aforementioned spans as part of a single trace
Goal
Instrument the Keptn Lifecycle Operator with the OTel SDK to export traces.
Technical Details
Use OTel Go to manually instrument the code to export the following spans as a single trace:
The Trace Context should be propagated into the CRDs via a common metadata field
TraceContext
. The context will be propagated using this immutable map.Each component should have its own tracer:
keptn/scheduler
keptn/webhook
keptn/operator/workload
keptn/operator/workloadinstance
keptn/operator/task
keptn/operator/taskinstance
Each Span should be created with the following OTel Attribute:
keptn.deployment.app_name
keptn.deployment.workload
keptn.deployment.version
The webhook is the one that always starts a trace.
The scheduler should create a Client Span for each reconciliation.
DoD
Resources
List
The text was updated successfully, but these errors were encountered: