Infisical / infisical

♾ Infisical is the open-source secret management platform: Sync secrets across your team/infrastructure, prevent secret leaks, and manage internal PKI
https://infisical.com
Other
15.18k stars 880 forks source link

[ENG-234] Add Pino transport to forward logs to Sentry #1162

Open dangtony98 opened 11 months ago

dangtony98 commented 11 months ago

Feature description Infisical recently added Pino for logging; currently, Pino is configured for local development.

It would be great to set up Pino transports to forward logs to external platforms for log aggregation/analysis etc. This specific issue is about forwarding logs to Sentry

Why would it be useful? This would provide self-hosted users of Infisical more logging/observability over their instances of Infisical in production.

Additional context Check out Pino transports documentation here.

Note: Infisical does have a setup for forwarding errors to Sentry already via Sentry SDK but perhaps there is a more streamlined way that we can do it with Pino transports.

From SyncLinear.com | ENG-234

Dhoni77 commented 11 months ago

Hi @dangtony98 I would like to work on this issue

dangtony98 commented 11 months ago

@Dhoni77 Assigned 😄