Skip to content

Instantly share code, notes, and snippets.

View adamorabi's full-sized avatar

Adam Orabi adamorabi

View GitHub Profile
@AlmightyOatmeal
AlmightyOatmeal / Python.SignalFx.SignalFlow_Wrapper.py
Last active October 20, 2020 19:15
Wrapper for SignalFx's Python client library for executing SignalFlow programs and returning a dictionary object that can be serialized to JSON. This also features exception handling to retry program text execution which is especially helpful for long-running SignalFlow programs that should be restarted in the event of a failure.
"""
Disclaimer
==========
This has been designed as a solution for a specific task, or set of tasks, by the code author which is outside
the locus of SignalFx supportability. This code is provided as-is and if any support is needed then it should
be provided by the original code author on a best-effort only basis; it cannot be supported through break/fix
support channels.
Synopsis