Skip to content

Fix request for time series data exceeding limit #3

@SeanHai

Description

@SeanHai

There are some trend grafhs which need get data from a 'start' to a 'end' with a 'interval' from prometheus, but there is a limit in promrtheus is only 11000 points permit for one query
(https://github.com/prometheus/prometheus/blob/6f3e664ae712850b020d95c5c8b8a6ff841803bd/web/api/v1/api.go#L434-L438).
So you need check the ponits queried and request splitting if the limit is exceeded. If not this error will occur ‘exceeded maximum resolution of 11,000 points per timeseries’

Registration procedure

Step 1. Add a comment when you sign up.The purpose of comments is for us to understand you and determine whether you have the basic ability to complete this issue.

  • If you are a student, please introduce your school, major, programming language, technical fields of interest, what you are good at, and why you chose this issue.
  • If you are already working, please introduce your company, career, work content, technical fields of interest, and why you chose this issue.

Step 2. Use WeChat to add the Curve community assistant "Curve" as a WeChat friend, tell your GitHub ID, and send the Issue link of your choice. The assistant will invite you to communicate with the mentor by WeChat.

Step 3. In order to better complete each development task, the mentor will select the developer who best matches the issue based on everyone's comment on GitHub and communication status by WeChat. If you are not selected, please select another issue.

Tips

  • Before developing, please read the dev guideline( https://ask.opencurve.io/t/topic/201) carefully and communicate with your mentor.
  • Please submit a draft PR before 11.29, and the mentor will review it within 2-5 working days and may guide you to modify the PR based on the actual situation.
  • If you successfully merge into PR before 12.27 and you will receive gifts carefully prepared by the Curve community.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions