Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tracing): set service version (#290)
We were previously only setting the lambda "version" in our instrumentation version. In practice this instrumentation is only present in our cold start trace (`realInit`). Other traces will use tracers belonging to different instrumentation libraries. This commit introduces `service.version` as part of the resource attributes. Since the binary is rebuilt on cloudformation template changes, it should accurately track the version of the service rather than merely the "binary" version.
- Loading branch information