Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce the logtracr #162

Closed
wants to merge 2 commits into from
Closed

introduce the logtracr #162

wants to merge 2 commits into from

Conversation

ffromani
Copy link
Member

@ffromani ffromani commented Jan 31, 2024

Introduce the logtracr logger. The logtracr logger builds upon and augments the existing klog (+logr)
infrastructure to provide per-object (vs per-component) log.
This logger implement a simplistic, in-process lookalike of a tracing logger, whose concepts (spans and traces) kinda remind of opentelemetry's concepts.

In a nutshell, the logger aims to make it possible/easier to correlate all the logs pertaining to a container during a scheduling cycle

For full design details please check pkg-kni/logtracr/DESIGN.md.

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 31, 2024
Copy link

openshift-ci bot commented Jan 31, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ffromani

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 31, 2024
@ffromani ffromani requested a review from shajmakh January 31, 2024 11:53
@ffromani ffromani force-pushed the kni-logger branch 5 times, most recently from 151212a to 184cc4a Compare January 31, 2024 16:15
@ffromani ffromani force-pushed the kni-logger branch 2 times, most recently from eee13a0 to cd4890e Compare March 6, 2024 12:41
@ffromani ffromani changed the title WIP: Introduce the KNI logger Introduce the KNI logger Mar 6, 2024
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 6, 2024
@ffromani ffromani removed the request for review from jlojosnegros March 6, 2024 13:28
@ffromani ffromani changed the title Introduce the KNI logger introduce the KNI logger Mar 6, 2024
@ffromani ffromani force-pushed the kni-logger branch 5 times, most recently from 3be3e31 to 54e766a Compare March 12, 2024 16:29
@ffromani ffromani changed the title introduce the KNI logger introduce the logtracr Mar 12, 2024
Introduce the logtracr logger.
The logtracr logger builds upon and augments the existing klog (+logr)
infrastructure to provide per-object (vs per-component) log.
This logger implement a simplistic, in-process lookalike of a tracing
logger, whose concepts (spans and traces) kinda remind of
opentelemetry's concepts.

In a nutshell, the logger aims to make it possible/easier to correlate
all the logs pertaining to a container during a scheduling cycle

For full design details please check the upcoming
`pkg-kni/logtracr/DESIGN.md`.

Signed-off-by: Francesco Romani <[email protected]>
add design/arch document how logtracr works and
the implementation choices.

Signed-off-by: Francesco Romani <[email protected]>
@ffromani
Copy link
Member Author

/retest

@ffromani
Copy link
Member Author

bad approach

@ffromani ffromani closed this Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant