Skip to content

add timestamps to logger in benchmarks/CI #356

Closed

Description

@ntabris
No description provided.

Activity

  1. jrbourbeau commented on Sep 23, 2022

    @jrbourbeau
    Contributor

    Thanks @ntabris. Do you have a CI build where logs are being emitted? IIRC this only happens when something goes wrong with a coiled cluster

  2. added
    enhancement
    infrastructure
    dx
    on Sep 23, 2022
  3. ntabris commented on Sep 23, 2022

    @ntabris
    MemberAuthor

    Do you have a CI build where logs are being emitted? IIRC this only happens when something goes wrong with a coiled cluster

    I don't have a specific case in mind. I think you're probably right that (eg) Coiled client logs only appear when there's a failure. Timestamps on that would be nice.

    Maybe we could also use https://pypi.org/project/pytest-timestamper/ and timestamp each test?

    Timestamps are a big help when trying to correlate with anything on the infra side.

  4. jrbourbeau commented on Sep 23, 2022

    @jrbourbeau
    Contributor

    Gotcha, thanks @ntabris. Do you think other users would benefit from timestamps on Coiled client logs? I'm wondering if it would be better to change the logger formatting upstream directly in coiled

  5. ntabris commented on Oct 3, 2022

    @ntabris
    MemberAuthor

    Do you think other users would benefit from timestamps on Coiled client logs? I'm wondering if it would be better to change the logger formatting upstream directly in coiled

    (Sorry, meant to reply sooner but forgot.)

    Our approach is to let the user configure the logger, since my understanding is that it's tricky to change the defaults but also not interfere with various ways that the user might try to change the logger config. I believe @dchudz is more familiar with this than me.

  6. dchudz commented on Oct 6, 2022

    @dchudz
    Contributor

    Like Nat said... my understanding is it's best practice for libraries (like Coiled) not to configure the logger.

  7. ntabris commented on Nov 8, 2022

    @ntabris
    MemberAuthor

    @jrbourbeau could someone do this please? I'm hoping this is easy but maybe I'm wrong.

    As an example of where I'd really really like to have timestamps, here's a timeout waiting for workers and I don't know when this happened:

    https://github.com/coiled/coiled-runtime/actions/runs/3395268406/jobs/5644924689#step:5:266

    (I'm trying to understand #468)

  8. self-assigned this
    on Nov 9, 2022
  9. dchudz commented on Nov 10, 2022

    @dchudz
    Contributor

    Thanks James!

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

Metadata

Metadata

Assignees

Labels

dxenhancementinfrastructure

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions