Background: I have a spring boot project, it s used to provide many APIs to another sectors. Totally i have 300 APIs, and i m using actuator/prometheus endpoint to collect the applications metrics, like http_server_requests_seconds_count
http_server_requests_seconds_sum
and so on.
spring boot version: 2.6.6
my issue: it cant get all apps metric in prometheus, for example:
APIs:
/app/test1
/app/test2
/app/test3
/app/test4
......
/app/test300
指标如下:
http_server_requests_seconds_count{application="my_test",exception="None",method="GET",outcome="SUCCESS",status="200",uri="/app/test1",} 2.0
http_server_requests_seconds_count{application="my_test",exception="None",method="GET",outcome="SUCCESS",status="200",uri="/app/test2",} 2.0
http_server_requests_seconds_count{application="my_test",exception="None",method="GET",outcome="SUCCESS",status="200",uri="/app/test3",} 2.0
http_server_requests_seconds_count{application="my_test",exception="None",method="GET",outcome="SUCCESS",status="200",uri="/app/test4",} 2.0
......
http_server_requests_seconds_count{application="my_test",exception="None",method="GET",outcome="SUCCESS",status="200",uri="/app/test179",} 2.0
http_server_requests_seconds_count{application="my_test",exception="None",method="GET",outcome="SUCCESS",status="200",uri="/app/test180",} 2.0
它失去了一些衡量标准,例如: /app/test193 /app/test246 /app/test289......,它喜欢行为方仅仅能够收集180份评估标准,这样就想到是否存在着任何限制。 增 编
i 在试卷上复制这一问题,但必须从根本上解决问题。