Content Deep Dive
Visualizing trends with regression lines
Blog post from Datadog
Post Details
Company
Date Published
Author
Stephen Kappel
Word Count
572
Language
English
Hacker News Points
-
Summary
At Datadog, three new regression functions have been introduced to enhance dashboards: trend_line(), robust_trend(), and piecewise_constant(). These functions help visualize trends in data by highlighting the overall direction of a metric over time. Trend lines can be added alongside original metrics to clarify trends or remove visual clutter from charts with "group by" queries. Piecewise regression is useful when a series cannot be well represented by a single regression line, as it fits a step function that shows sudden changes in a metric's value. These functions are now available through the graph editor for all Datadog users.