Firstsawyou commented on issue #4137: URL: https://github.com/apache/apisix/issues/4137#issuecomment-827334456
> I can't reproduce it, it only happens occasionally now > > additional, the server load is not high. The metrics data is real-time, which may be related to the time interval when you call the `/apisix/prometheus/metrics` interface. This is the log of my test calling the `/apisix/prometheus/metrics` interface: ```shell 127.0.0.1 - - [27/Apr/2021:13:52:45 +0800] 127.0.0.1:9080 "GET /apisix/prometheus/metrics HTTP/1.1" 200 8062 0.001 "-" "curl/7.29.0" - - - "http://127.0.0.1:9080" 127.0.0.1 - - [27/Apr/2021:13:52:46 +0800] 127.0.0.1:9080 "GET /apisix/prometheus/metrics HTTP/1.1" 200 8062 0.002 "-" "curl/7.29.0" - - - "http://127.0.0.1:9080" 127.0.0.1 - - [27/Apr/2021:13:52:47 +0800] 127.0.0.1:9080 "GET /apisix/prometheus/metrics HTTP/1.1" 200 8062 0.003 "-" "curl/7.29.0" - - - "http://127.0.0.1:9080" 127.0.0.1 - - [27/Apr/2021:13:52:47 +0800] 127.0.0.1:9080 "GET /apisix/prometheus/metrics HTTP/1.1" 200 8062 0.002 "-" "curl/7.29.0" - - - "http://127.0.0.1:9080" 127.0.0.1 - - [27/Apr/2021:13:52:46 +0800] 127.0.0.1:9080 "GET /apisix/prometheus/metrics HTTP/1.1" 200 8062 0.003 "-" "curl/7.29.0" - - - "http://127.0.0.1:9080" 127.0.0.1 - - [27/Apr/2021:13:52:48 +0800] 127.0.0.1:9080 "GET /apisix/prometheus/metrics HTTP/1.1" 200 8062 0.002 "-" "curl/7.29.0" - - - "http://127.0.0.1:9080" 127.0.0.1 - - [27/Apr/2021:13:52:48 +0800] 127.0.0.1:9080 "GET /apisix/prometheus/metrics HTTP/1.1" 200 8062 0.002 "-" "curl/7.29.0" - - - "http://127.0.0.1:9080" 127.0.0.1 - - [27/Apr/2021:13:52:49 +0800] 127.0.0.1:9080 "GET /apisix/prometheus/metrics HTTP/1.1" 200 8062 0.002 "-" "curl/7.29.0" - - - "http://127.0.0.1:9080" ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
