Add E2E test verifying OTEL tracing across Zenko services#2378
Open
delthas wants to merge 1 commit into
Open
Conversation
Contributor
Hello delthas,My role is to assist you with the merge of this Available options
Available commands
Status report is not available. |
Contributor
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
|
c362986 to
9a3a251
Compare
9a3a251 to
f32a16b
Compare
f32a16b to
a7b196c
Compare
Contributor
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
|
a7b196c to
c9ae52e
Compare
- Deploy Jaeger all-in-one (memory-only, OTLP-enabled) in the kind CI cluster alongside existing dependencies - Patch the Zenko CR with `spec.otel` (enabled, sampling ratio 1.0) so every request is traced during CI — also acts as a smoke test that OTEL doesn't break existing @premerge tests - Add a new @premerge CTST scenario that puts an S3 object and then polls the Jaeger query API to assert a trace exists with spans from both cloudserver and vault Issue: ZENKO-5258
c9ae52e to
79d656d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
1.76.0)in the kind CI cluster alongside existing dependencies (Keycloak,
Prometheus, etc.)
spec.tracing(enabled, sampling ratio1.0)so every request is traced during CI — this also acts as a smoke test
that OTEL doesn't break existing
@PreMergetests@PreMergeCTST scenario that puts an S3 object and thenpolls the Jaeger query API to assert a trace exists with spans from
both connector-cloudserver and connector-vault (matching the
OTEL_SERVICE_NAMEvalues emitted by the operator)What changed
install-kind-dependencies.shjaegertracing/all-in-one:1.76.0)configure-e2e-ctst.shkubectl patch zenkowithspec.tracing, wait for cloudserver + vault rolloutsetup-e2e-env.shJaegerQueryEndpointin world paramsworld/Zenko.tsJaegerQueryEndpointadded toZenkoWorldParametersfeatures/otel-tracing.feature@PreMergescenariosteps/otel-tracing.tsWhy
Parent ticket OS-1072
tracks adding OpenTelemetry tracing across the Zenko stack. This PR
adds CI coverage to verify that traces actually propagate end-to-end
(cloudserver → vault) once tracing is enabled on the CR.
Dependencies
Requires zenko-operator PR #607 (ZKOP-539)
to be merged and the bundled operator version bumped in
solution/deps.yaml— it adds thespec.tracingCRD field andpropagates
ENABLE_OTEL/OTEL_*env vars to the manageddeployments. Without it, the
kubectl patchhere will be rejectedas an unknown field.
Issue: ZENKO-5258