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 was archived by the owner on Jan 3, 2023. It is now read-only.
With a few small localized changes, this library will work with Apache OpenWhisk - an open source platform for serverless functions powering public clouds (IBM Cloud Functions, Adobe I/O, Nimbella) and many others offerings on-prem.
There are two main differences between OpenWhisk and AWS:
the "main" handler signature is main(event)in OpenWhisk vs main(event, context) in Lambda. The context is provided in environment variables in the former.
To keep changes minimal, I created a method to convert an OpenWhisk environment to an AWS-like context object (so get_fields remains agnostic to this change). I've confirmed the change is sufficient to allow OpenWhisk functions running on Nimbella to use the Lambda dashboards on SignalFx.
I can submit this patch as a pull request if desirable (do you have a contribution guide?), along with some documentation to show an OpenWhisk example as in this repo https://github.com/rabbah/sfx.
Here's the OpenWhisk lambda using the SignalFx decorator.
FYI for Splunk SignalFx GitHub approvers... - I (SignalFx Splunk Senior Sales Engineer) am working with Rodric and Nimbella on this and am creating OpenWhisk and Nimbella demos...
Activity
slernersplunk commentedon Jan 13, 2020
FYI for Splunk SignalFx GitHub approvers... - I (SignalFx Splunk Senior Sales Engineer) am working with Rodric and Nimbella on this and am creating OpenWhisk and Nimbella demos...