This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
Releases: signalfx/lambda-nodejs
Releases · signalfx/lambda-nodejs
Release v1.1.1
Changes:
- allow usage of nulls and booleans as dimension values (#45)
1.0.0
1.0.0-beta.1
- Updated SignalFx client and SignalFx tracing libs to the latest version
- Updated README.md with sample code demonstrating how to add extra tags to spans sent by the wrapper
- Updated README.md with recommended approach to metrics and events delivery
1.0.0-beta.0
Add tracing support
- sfx.wrapper now enables both metric and tracing by default.
- Users can set SIGNALFX_METRICS_ENABLED and SIGNALFX_TRACING_ENABLED env vars to "false" in order to disable either one.
- SIGNALFX_INGEST_ENDPOINT env var was removed in favor of SIGNALFX_ENDPOINT_URL and SIGNALFX_METRICS_URL.
- SIGNALFX_AUTH_TOKEN env var was renamed to SIGNALFX_ACCESS_TOKEN to be more consistent with other SignalFx libraries.
- access token can no longer be passed as an argument to the wrapper function and must be set using the SIGNALFX_ACCESS_TOKEN env var. This is the case because we initialize the tracer before wrapper functions are called and need the access token there.
setAccessToken
helper function was removed.setLambdaFunctionContext
helper function was replaced with two new methods:getExecutionMetadata(context)
andsetDefaultDimension(dimensions, executionMetadata)