Skip to content

Tracing #4

Description

@9ary

Following a suggestion by @bb010g, this would be a cleaner way to implement progress reporting.

my preference: i'd not pass around progress bars, but rather use opentelemetry/minitrace/tracing to instrument your whole crate, and then report progress on the CLI based on emissions from that local telemetry.

https://lib.rs/crates/tracing-indicatif exists if you want to look at some code for that option.

The current hooks are fine, but the need to pass objects around pollutes the entire code base, so it'd be neat to get rid of them.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions