Skip to content

Dropped log messages #190

@dhruv-nudge

Description

@dhruv-nudge

I am seeing many dropped log messages when using pino-opentelemetry-transport.

I am having these env variables:

OTEL_EXPORTER_OTLP_COMPRESSION==gzip
OTEL_EXPORTER_OTLP_LOGS_PROTOCOL=grpc
OTEL_EXPORTER_OTLP_LOGS_ENDPOINT=http://url:4317

And setup looks like this:

const pinoLogger = pino(
	{
		level: 'debug',
		timestamp: true,
	},
	pino.transport({
		targets: [
			{
				level: 'debug',
				target: 'pino-opentelemetry-transport',
				options: {
					sync: false,
				},
			},
		],
	}),
);

is there any way I can debug what the issue might be? any suggestions are appreciated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions