Skip to content

Conversation

@pabloem
Copy link
Contributor

@pabloem pabloem commented Oct 25, 2025

  • Implements a one-pass simple linear regression algorithm for time-series (x-long, y-double)
  • Implements per-type specializations that simply cast to double.
  • Returns the slope of the linreg as the derivative

Implementation of https://prometheus.io/docs/prometheus/latest/querying/functions/#deriv

@pabloem pabloem marked this pull request as ready for review October 27, 2025 18:26
@pabloem pabloem changed the title [wip] Initial steps of implementing Derivative using linear regression Implementing Derivative using linear regression Oct 27, 2025
@pabloem pabloem requested a review from dnhatn October 27, 2025 18:26
@elasticsearchmachine elasticsearchmachine added the needs:triage Requires assignment of a team area label label Oct 27, 2025
@pabloem pabloem added >feature :StorageEngine/TSDB You know, for Metrics Team:StorageEngine and removed needs:triage Requires assignment of a team area label labels Oct 27, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants