Skip to content

Conversation

@aacastillo
Copy link

Desired Outcome

The desired outcome for this PR is add observability tracing into Conjur.

Implemented Changes

The incoming changes add the Open Telemetry ruby gem to add traces into the codebase and to send these traces to a specified Jaeger container. The changes include an all-in-one Jaeger container in the docker-compose file which can be boot up using a feature flag that has been added to the start script.

Connected Issue/Story

CyberArk internal issue link: insert issue ID

Definition of Done

At least 1 todo must be completed in the sections below for the PR to be
merged.

Changelog

  • The CHANGELOG has been updated, or
  • This PR does not include user-facing changes and doesn't require a
    CHANGELOG update

Test coverage

  • This PR includes new unit and integration tests to go with the code
    changes, or
  • The changes in this PR do not require tests

Documentation

  • Docs (e.g. READMEs) were updated in this PR
  • A follow-up issue to update official docs has been filed here: insert issue ID
  • This PR does not require updating any documentation

Behavior

  • This PR changes product behavior and has been reviewed by a PO, or
  • These changes are part of a larger initiative that will be reviewed later, or
  • No behavior was changed with this PR

Security

  • Security architect has reviewed the changes in this PR,
  • These changes are part of a larger initiative with a separate security review, or
  • There are no security aspects to these changes

@aacastillo aacastillo requested a review from a team as a code owner April 27, 2022 16:28
@aacastillo aacastillo self-assigned this Apr 27, 2022
@ismarc ismarc force-pushed the conjur-tracing-no-middleware branch from 172785b to c93f6a3 Compare April 27, 2022 16:35
@aacastillo aacastillo force-pushed the conjur-tracing-no-middleware branch from c93f6a3 to d1bfecc Compare May 2, 2022 14:45
Copy link
Contributor

@gl-johnson gl-johnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments

@aacastillo aacastillo force-pushed the conjur-tracing-no-middleware branch 2 times, most recently from a607a00 to ac46639 Compare May 9, 2022 18:00
@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit ac46639 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 33.3% (50% is the threshold).

This pull request will bring the total coverage in the repository to 87.9% (-1.5% change).

View more on Code Climate.

Added feature flag with config system.
Tracing in controllers are inehrited from application controller.
Rack middleware removed, does NOT receive context propagation.
Moved tracing logic to concern.
@aacastillo aacastillo force-pushed the conjur-tracing-no-middleware branch from a169899 to 35f6614 Compare May 12, 2022 14:38
@szh
Copy link
Contributor

szh commented Feb 7, 2025

I'm curious why this was never merged. @cyberark/conjur-core-team?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants