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

NGSTN-1241 Farster coldstart with HTTP/protobuf exporters #55

Conversation

RafalSumislawski
Copy link
Member

Use OTLP http/proto instead of OTLP gRPC exporters. This way we avoid having to package (layer size) and initialise (invoke duraiton) gRPC librarary. http library is built-in and initialised anyway. We still pay the cost of the protobuf library.

This change also fixes a warning log about gRPC instrumentation. And it required suppressing HTTP instrumentation or else we would generate extra spans and metrics.

@RafalSumislawski RafalSumislawski requested a review from a team December 4, 2024 10:35
@RafalSumislawski RafalSumislawski merged commit 6b730a6 into coralogix-nodejs-autoinstrumentation Dec 4, 2024
1 of 3 checks passed
@RafalSumislawski RafalSumislawski deleted the feature/NGSTN-1241-optimised-coldstart branch December 4, 2024 11:49
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.

2 participants