Piecewise regression without the pain (open-source code)
datadoghq.com