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

New unique logging meta-data into key Kubernetes logs #1668

Closed
hase1128 opened this issue Apr 6, 2020 · 39 comments
Closed

New unique logging meta-data into key Kubernetes logs #1668

hase1128 opened this issue Apr 6, 2020 · 39 comments
Assignees
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. sig/instrumentation Categorizes an issue or PR as relevant to SIG Instrumentation. stage/alpha Denotes an issue tracking an enhancement targeted for Alpha status tracked/no Denotes an enhancement issue is NOT actively being tracked by the Release Team

Comments

@hase1128
Copy link

hase1128 commented Apr 6, 2020

Enhancement Description

  • One-line enhancement description (can be used as a release note): This KEP proposes a method for adding new three unique logging meta-data into K8s component logs.
  • Kubernetes Enhancement Proposal: Trace context propagation #2312
  • Primary contact (assignee): @hase1128
  • Responsible SIGs: sig-instrumentation
  • Reviewers: @serathius
  • Approver: @dashpole
  • Enhancement target (which target equals to which milestone):
    • Alpha release target (1.20)
    • Beta release target (x.y)
    • Stable release target (x.y)

Please to keep this description up to date. This will help the Enhancement Team track efficiently the evolution of the enhancement

@k8s-ci-robot k8s-ci-robot added the needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label Apr 6, 2020
@hase1128
Copy link
Author

hase1128 commented Apr 6, 2020

/sig instrumentation
/milestone v1.20

@k8s-ci-robot k8s-ci-robot added the sig/instrumentation Categorizes an issue or PR as relevant to SIG Instrumentation. label Apr 6, 2020
@k8s-ci-robot
Copy link
Contributor

@hase1128: You must be a member of the kubernetes/milestone-maintainers GitHub team to set the milestone. If you believe you should be able to issue the /milestone command, please contact your and have them propose you as an additional delegate for this responsibility.

In response to this:

/sig instrumentation
/milestone v1.20

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot removed the needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label Apr 6, 2020
@zhijianli88
Copy link

/cc

1 similar comment
@fenggw-fnst
Copy link

/cc

@johnbelamaric
Copy link
Member

/milestone v1.20

@k8s-ci-robot k8s-ci-robot added this to the v1.20 milestone May 4, 2020
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Aug 2, 2020
@palnabarun
Copy link
Member

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 1, 2020
@kikisdeliveryservice
Copy link
Member

Hi @hase1128 !

Enhancements Lead here, do you still intend to target this for alpha in 1.20?

Thanks!
Kirsten

@hase1128
Copy link
Author

@kikisdeliveryservice

I would like to aim for 1.20 if possible, but 1.21 may be appropriate in terms of time.

@kikisdeliveryservice
Copy link
Member

Hi @hase1128

We will track for now and you can just keep us updated.

@kikisdeliveryservice kikisdeliveryservice added stage/alpha Denotes an issue tracking an enhancement targeted for Alpha status tracked/yes Denotes an enhancement issue is actively being tracked by the Release Team labels Sep 16, 2020
@kikisdeliveryservice
Copy link
Member

As a note I left some comments on your KEP PR that will need to be resolved as well: #1961 (review)

@ehashman
Copy link
Member

Assuming the KEP is completed and approved, we will target 1.20; otherwise this will slip to 1.21 for alpha.

@kikisdeliveryservice
Copy link
Member

Assuming the KEP is completed and approved, we will target 1.20; otherwise this will slip to 1.21 for alpha.

Great. We are tracking it for now, let us know if anything changes. As a note Enhancements Freeze is October 6th and the KEP will need to be merged, implementable (it's currently provisional) as well as have test plans and graduation criteria added. Would also be good to fill out the PRR.

@kinarashah
Copy link

Hi @hase1128,

Enhancement shadow for 1.20 release here 👋. As we're moving close to the Enhancement Freeze deadline (October 6), just wanted to remind you to update KEP PR.

We're looking for the KEP PR to have the following before this deadline:

  • should have test plans
  • should have graduation criteria
  • should have state implementable and merged

Please let me know if you have any questions, thank you!

@kikisdeliveryservice
Copy link
Member

@ehashman @hase1128 :

Has this slipped to 1.21? the kep update seems to say so: https://github.com/kubernetes/enhancements/pull/1961/files#diff-168484bdbc7e288639cb3b3a8cfc7552

@hase1128
Copy link
Author

hase1128 commented Oct 1, 2020

I think it will be 1.21.

@kikisdeliveryservice kikisdeliveryservice added tracked/no Denotes an enhancement issue is NOT actively being tracked by the Release Team and removed tracked/yes Denotes an enhancement issue is actively being tracked by the Release Team labels Oct 1, 2020
@kikisdeliveryservice
Copy link
Member

I think it will be 1.21.

Thanks for the update!

/milestone clear

@k8s-ci-robot k8s-ci-robot removed this from the v1.20 milestone Oct 1, 2020
@ehashman
Copy link
Member

ehashman commented Oct 1, 2020

Ack from SIG Instrumentation leads/regular meeting on pushing to 1.21.

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@JamesLaverack JamesLaverack added tracked/yes Denotes an enhancement issue is actively being tracked by the Release Team and removed tracked/no Denotes an enhancement issue is NOT actively being tracked by the Release Team labels Apr 29, 2021
@gracenng
Copy link
Member

Hi @zhijianli88 👋 1.22 Enhancement Shadow here

This enhancement is in good shape, just some minor change requests light of Enhancement Freeze on Thursday May 13th:

  • In kep.yaml, latest-milestone is not updated to 1.22
  • In kep.yaml, milestone does not match current stage
  • KEP status is currently provisional instead of implementable

Thanks! 😊

@gracenng
Copy link
Member

Hi @zhijianli88 👋 1.22 Enhancements shadow here.
I just wanted to double check to see if SIG-Instrumentation will need to do anything for this enhancement and if so, are they OK with it?
Thanks!

@zhijianli88
Copy link

Hi @zhijianli88 1.22 Enhancements shadow here.
I just wanted to double check to see if SIG-Instrumentation will need to do anything for this enhancement and if so, are they OK with it?
Thanks!

Seems we cannot catch up 1.22 since some misgivings in our KEP have not got resolved and consensus. I would greatly appreciate it if you kindly give me some feedback.

@gracenng
Copy link
Member

Hi @zhijianli88, not sure if I understand your question, but it looks like you only need to make some minor changes I mentioned above and get your KEP PR merged to master.

If you are unable to merge in time for 1.22 Enhancement Freeze tomorrow, you have the option to file for an exception or update your KEP for the future releases.

Let me know if this answers your questions and if I can help in any way

@zhijianli88
Copy link

but it looks like you only need to make some minor changes I mentioned above and get your KEP PR merged to master.

Thanks for your help. I guess I got your point. of cause i will update the kep.yaml as your mentioned above later becuase they are out of day. but the key point is the design in this KEP have not get approved by community. So I'd like to shift to 1.23 instead.

@ehashman
Copy link
Member

/milestone v1.23

Thanks!

@k8s-ci-robot k8s-ci-robot modified the milestones: v1.22, v1.23 May 13, 2021
@JamesLaverack JamesLaverack added tracked/no Denotes an enhancement issue is NOT actively being tracked by the Release Team and removed tracked/yes Denotes an enhancement issue is actively being tracked by the Release Team labels May 14, 2021
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Aug 12, 2021
@dashpole
Copy link
Contributor

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Aug 12, 2021
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Nov 10, 2021
@ehashman
Copy link
Member

ehashman commented Dec 2, 2021

/milestone clear

@k8s-ci-robot k8s-ci-robot removed this from the v1.23 milestone Dec 2, 2021
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jan 1, 2022
@ehashman
Copy link
Member

This may be superseded by #3077 which has similar goals.

@pohly
Copy link
Contributor

pohly commented Jan 17, 2022

Perhaps not superseded because nothing in that proposal will be specifically about trace IDs. But it should indeed provide the necessary logging infrastructure for this enhancement here.

@dashpole
Copy link
Contributor

See #1961 (review). This enhancement was designed to be complementary to contextual logging.

@KobayashiD27
Copy link

to achieve our goal, we planned this 2 steps.

  • object tracing, picked up after original Tracing KEP reduced scope
  • adding context information to logs

contextual logging #3077 helps "adding context information to logs" and propagates trace context in one component.
And we should focus on the propagation between a component and other component in our KEP.

This is my understanding about the positions of our KEP and #3078. Does this fit your (and SIG-instrumentation's) understanding? @dashpole @pohly

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue or PR with /reopen
  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close

@k8s-ci-robot
Copy link
Contributor

@k8s-triage-robot: Closing this issue.

In response to this:

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue or PR with /reopen
  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. sig/instrumentation Categorizes an issue or PR as relevant to SIG Instrumentation. stage/alpha Denotes an issue tracking an enhancement targeted for Alpha status tracked/no Denotes an enhancement issue is NOT actively being tracked by the Release Team
Projects
None yet
Development

No branches or pull requests