You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.
Yeah, what I would do is store the encoded version on the client and just change this line to write the already encoded content rather than redoing the encoding every time. You'll want to make sure the pre-encoded metadata is rebuilt any time the config changes though--the end of Client.prototype.config is probably a good place to generate and store the pre-encoded metadata header.
alemagio
added a commit
to alemagio/apm-nodejs-http-client
that referenced
this issue
Nov 5, 2019
Only stringify the
metadata
object once and reuse the generated string for all future metadata events being sent.The text was updated successfully, but these errors were encountered: