/metric maxLines param | 实时数据获取接口maxLines不生效
Open
kind/question
- Dominant language
- Java
- Stars
- 23.1k
- Forks
- 8.1k
- PR merge metrics
- No merged PRs in 30d
Description
http://localhost:8719/metric?identity=558eda66ac4940f1977220ac15313a21&startTime=1666253129000&endTime=1666253429000&maxLines=100
并没有按照预期返回10条数据

Contributor guide
Research direction
Start by reproducing the documented /metric request with the supplied identity, time range, and maxLines parameter, then inspect the metric API entry point and the code that limits returned data. Compare the response count with the requested limit and the issue’s expected result. Done means maxLines is honored consistently by the endpoint and the behavior is covered by an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, observability-sre
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100