Company
Date Published
Author
Stephen Kappel
Word count
586
Language
English
Hacker News points
None

Summary

Datadog has introduced three regression functions to enhance its dashboards: `trend_line()`, `robust_trend()`, and `piecewise_constant()`. These functions help users analyze trends over time, rather than focusing on exact values. The `trend_line()` function uses ordinary least squares linear regression, while the `robust_trend()` function is more robust to outliers using Huber loss. Trend lines can be used to highlight trends, remove visual clutter from charts, and visualize changes in metrics before and after deployments. Additionally, the `piecewise_constant()` function can fit a step function to metric data, automatically determining segment duration based on metric characteristics. These functions are now available through the graph editor for all Datadog users.