Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

Conversation

eh-am
Copy link
Collaborator

@eh-am eh-am commented Apr 18, 2023

Support timelines:
image

Couple points:

@eh-am eh-am changed the title [WIP]: feat: timelines feat: timelines Apr 20, 2023
@eh-am eh-am marked this pull request as ready for review April 20, 2023 14:10
Copy link
Collaborator

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eh-am eh-am merged commit cbeb28c into main Apr 20, 2023
@eh-am eh-am deleted the feat/timelines branch April 20, 2023 15:59
simonswine pushed a commit to simonswine/pyroscope that referenced this pull request Jun 30, 2023
Add support for timelines

Also:
* The resolution calculation is heavily inspired by Grafana's (https://github.com/grafana/grafana/blob/bc11a484ed97d9c87e8dd42347c2c34713e9e441/pkg/tsdb/intervalv2/intervalv2.go#L1), which is more fine grained compared to OG Pyroscope's (https://github.com/grafana/pyroscope/blob/d7ed25ebb6c50a7eab906666933d48e71573d3e8/pkg/storage/segment/constants.go#L7-L24)
* Grafana's implementation uses the frontend size as a hint on how many points to calculate. Since OG Pyroscope doesn't do that (and changing it would require some effort), I am hardcoding a default, which can be revised later.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants