See the discussion at https://discuss.elastic.co/t/apm-with-aws-lambda-java/185936.
Currently implementation should at least include addition of a blocking flush API. Maybe some work around metrics.
(It is likely that we would want to work on native support for serverless, rather than offering something that requires specific API for that, but we'll think about implementation when we get to it).
In addition, add some documentation on how to enable:
- using the programmatic attach API
- provide tools.jar
- a word of warning about overhead and maybe tuning
- caveats (metrics?)
See the discussion at https://discuss.elastic.co/t/apm-with-aws-lambda-java/185936.
Currently implementation should at least include addition of a blocking flush API. Maybe some work around metrics.(It is likely that we would want to work on native support for serverless, rather than offering something that requires specific API for that, but we'll think about implementation when we get to it).
In addition, add some documentation on how to enable: