Skip to content

Pino integration - Pino versions below 9.10 doesn't show up on Sentry logs #17917

@mrljsh

Description

@mrljsh

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/node - fastify

SDK Version

10.19.0

Framework Version

Fastify v4.29.0

Link to Sentry event

No response

Reproduction Example/SDK Setup

No response

Steps to Reproduce

  1. Install [email protected]
  2. Implement Sentry pino integration
  3. Start the server, try to log things, they won't show up on Sentry logs

Expected Result

As per documentation, any version above 9.0.0 -> Fastify server logs should appear on Sentry dashboard

Actual Result

Logs wont show unless pino is updated to ^9.10.0 version. Sentry.log methods work as usual.

Additional Context

  • I am not sure what's the reason behind this, but I think you should set info in docs that recommended version is ^9.10.0.
  • Also, maybe add some logging to the integration, when we enable debug: true in Sentry.init, we should have some feedback if logs are successfully sent to the Sentry or not.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions