Skip to content

Structured Logging #379

Open
Open
@Michael-F-Bryan

Description

@Michael-F-Bryan

For telemetry, we'd like a Rune to tell us when certain events happen (start of proc block X, etc.) so we can pass that on information to the user.

One way we can do this is by switching from the log crate to something that supports structured logging (e.g. tracing). Then we just need to set up "well-known" messages that the runtime can look out for and translate into telemetry events (e.g. by wrapping the call in a span). Then it's just a case of wiring up a Subscriber that passes these events to _debug().

cc: @jacekpie

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions