Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs->add appsignal pino transport #2065

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

luismiramirez
Copy link

Hi there! 👋🏼

We've created an AppSignal pino transport and recently released it as part of our v3.5.1 integration.

This PR adds the transport to the v7+ compatible list.

@mcollina
Copy link
Member

is it covered by tests? does it have docs?


const logger = pino({
AppsignalPinoTransport({
client: Appsignal.client,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this would work with pino-transport

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you provide more info about how it wouldn't work with pino-transport please? I'm trying to find some info about it, but I haven't found anything.

@luismiramirez
Copy link
Author

is it covered by tests? does it have docs?

Yes, we have a test-setup for it working with Fastify Pino logging: https://github.com/appsignal/test-setups/blob/main/nodejs/fastify/app/src/app.ts

And its docs page: https://docs.appsignal.com/logging/platforms/integrations/nodejs.html#usage-with-pino

docs/transports.md Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants