Skip to content

Use structured logging and send it to Sentry #1151

Closed
@jyn514

Description

@jyn514

Sentry has been setup already following the instructions in https://forge.rust-lang.org/infra/docs/sentry.html. We could add sentry integration to docs.rs, see rust-lang/crates.io#2961 for an example. There are docs at https://docs.sentry.io/platforms/rust/ and https://docs.rs/sentry/0.20.1/sentry/#quickstart.

Note that sentry has a drop guard for flushing messages, so we should consider implementing #1150 first to avoid losing logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-adminArea: Administration of the production docs.rs server

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions