In what area(s)?
/area monitoring
What version of Knative?
0.19.0
Expected Behavior
queue-proxy 9091 metrics serve error: 500 Internal Server Error and metrics data with some error of collected metric xxx was collected before with the same name and label values
metrics request as follows
root@admin03.sjzcm:~# kubectl get po -n test7 -owide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
tosboetest-version-1-0-0-1-deployment-768bdc6969-cbhg5 2/2 Running 0 3d22h 172.24.1.131 admin03.sjzcm <none> <none>
root@admin03.sjzcm:~# curl 172.24.1.131:9091/metrics -v
* Trying 172.24.1.131...
* TCP_NODELAY set
* Connected to 172.24.1.131 (172.24.1.131) port 9091 (#0)
> GET /metrics HTTP/1.1
> Host: 172.24.1.131:9091
> User-Agent: curl/7.52.1
> Accept: */*
>
< HTTP/1.1 500 Internal Server Error
< Content-Type: text/plain; charset=utf-8
< X-Content-Type-Options: nosniff
< Date: Tue, 22 Dec 2020 06:13:50 GMT
< Transfer-Encoding: chunked
<
An error has occurred while serving metrics:
10 error(s) occurred:
* collected metric "revision_app_request_count" { label:<name:"configuration_name" value:"tosboetest" > label:<name:"container_name" value:"queue-proxy" > label:<name:"namespace_name" value:"test7" > label:<name:"pod_name" value:"tosboetest-version-1-0-0-1-deployment-768bdc6969-cbhg5" > label:<name:"response_code" value:"200" > label:<name:"response_code_class" value:"2xx" > label:<name:"revision_name" value:"tosboetest-version-1-0-0-1" > label:<name:"service_name" value:"tosboetest" > counter:<value:284 > } was collected before with the same name and label values
* collected metric "revision_app_request_latencies" { label:<name:"configuration_name" value:"tosboetest" > label:<name:"container_name" value:"queue-proxy" > label:<name:"namespace_name" value:"test7" > label:<name:"pod_name" value:"tosboetest-version-1-0-0-1-deployment-768bdc6969-cbhg5" > label:<name:"response_code" value:"200" > label:<name:"response_code_class" value:"2xx" > label:<name:"revision_name" value:"tosboetest-version-1-0-0-1" > label:<name:"service_name" value:"tosboetest" > histogram:<sample_count:284 sample_sum:345.99999999999966 bucket:<cumulative_count:284 upper_bound:5 > bucket:<cumulative_count:284 upper_bound:10 > bucket:<cumulative_count:284 upper_bound:20 > bucket:<cumulative_count:284 upper_bound:40 > bucket:<cumulative_count:284 upper_bound:60 > bucket:<cumulative_count:284 upper_bound:80 > bucket:<cumulative_count:284 upper_bound:100 > bucket:<cumulative_count:284 upper_bound:150 > bucket:<cumulative_count:284 upper_bound:200 > bucket:<cumulative_count:284 upper_bound:250 > bucket:<cumulative_count:284 upper_bound:300 > bucket:<cumulative_count:284 upper_bound:350 > bucket:<cumulative_count:284 upper_bound:400 > bucket:<cumulative_count:284 upper_bound:450 > bucket:<cumulative_count:284 upper_bound:500 > bucket:<cumulative_count:284 upper_bound:600 > bucket:<cumulative_count:284 upper_bound:700 > bucket:<cumulative_count:284 upper_bound:800 > bucket:<cumulative_count:284 upper_bound:900 > bucket:<cumulative_count:284 upper_bound:1000 > bucket:<cumulative_count:284 upper_bound:2000 > bucket:<cumulative_count:284 upper_bound:5000 > bucket:<cumulative_count:284 upper_bound:10000 > bucket:<cumulative_count:284 upper_bound:20000 > bucket:<cumulative_count:284 upper_bound:50000 > bucket:<cumulative_count:284 upper_bound:100000 > > } was collected before with the same name and label values
* collected metric "revision_queue_depth" { label:<name:"configuration_name" value:"tosboetest" > label:<name:"container_name" value:"queue-proxy" > label:<name:"namespace_name" value:"test7" > label:<name:"pod_name" value:"tosboetest-version-1-0-0-1-deployment-768bdc6969-cbhg5" > label:<name:"response_code" value:"" > label:<name:"response_code_class" value:"" > label:<name:"revision_name" value:"tosboetest-version-1-0-0-1" > label:<name:"service_name" value:"tosboetest" > gauge:<value:1 > } was collected before with the same name and label values
* collected metric "revision_request_count" { label:<name:"configuration_name" value:"tosboetest" > label:<name:"container_name" value:"queue-proxy" > label:<name:"namespace_name" value:"test7" > label:<name:"pod_name" value:"tosboetest-version-1-0-0-1-deployment-768bdc6969-cbhg5" > label:<name:"response_code" value:"200" > label:<name:"response_code_class" value:"2xx" > label:<name:"revision_name" value:"tosboetest-version-1-0-0-1" > label:<name:"service_name" value:"tosboetest" > counter:<value:284 > } was collected before with the same name and label values
* collected metric "revision_request_latencies" { label:<name:"configuration_name" value:"tosboetest" > label:<name:"container_name" value:"queue-proxy" > label:<name:"namespace_name" value:"test7" > label:<name:"pod_name" value:"tosboetest-version-1-0-0-1-deployment-768bdc6969-cbhg5" > label:<name:"response_code" value:"200" > label:<name:"response_code_class" value:"2xx" > label:<name:"revision_name" value:"tosboetest-version-1-0-0-1" > label:<name:"service_name" value:"tosboetest" > histogram:<sample_count:284 sample_sum:357.99999999999994 bucket:<cumulative_count:284 upper_bound:5 > bucket:<cumulative_count:284 upper_bound:10 > bucket:<cumulative_count:284 upper_bound:20 > bucket:<cumulative_count:284 upper_bound:40 > bucket:<cumulative_count:284 upper_bound:60 > bucket:<cumulative_count:284 upper_bound:80 > bucket:<cumulative_count:284 upper_bound:100 > bucket:<cumulative_count:284 upper_bound:150 > bucket:<cumulative_count:284 upper_bound:200 > bucket:<cumulative_count:284 upper_bound:250 > bucket:<cumulative_count:284 upper_bound:300 > bucket:<cumulative_count:284 upper_bound:350 > bucket:<cumulative_count:284 upper_bound:400 > bucket:<cumulative_count:284 upper_bound:450 > bucket:<cumulative_count:284 upper_bound:500 > bucket:<cumulative_count:284 upper_bound:600 > bucket:<cumulative_count:284 upper_bound:700 > bucket:<cumulative_count:284 upper_bound:800 > bucket:<cumulative_count:284 upper_bound:900 > bucket:<cumulative_count:284 upper_bound:1000 > bucket:<cumulative_count:284 upper_bound:2000 > bucket:<cumulative_count:284 upper_bound:5000 > bucket:<cumulative_count:284 upper_bound:10000 > bucket:<cumulative_count:284 upper_bound:20000 > bucket:<cumulative_count:284 upper_bound:50000 > bucket:<cumulative_count:284 upper_bound:100000 > > } was collected before with the same name and label values
* collected metric "revision_queue_depth" { label:<name:"configuration_name" value:"tosboetest" > label:<name:"container_name" value:"queue-proxy" > label:<name:"namespace_name" value:"test7" > label:<name:"pod_name" value:"tosboetest-version-1-0-0-1-deployment-768bdc6969-cbhg5" > label:<name:"response_code" value:"" > label:<name:"response_code_class" value:"" > label:<name:"revision_name" value:"tosboetest-version-1-0-0-1" > label:<name:"service_name" value:"tosboetest" > gauge:<value:1 > } was collected before with the same name and label values
* collected metric "revision_request_count" { label:<name:"configuration_name" value:"tosboetest" > label:<name:"container_name" value:"queue-proxy" > label:<name:"namespace_name" value:"test7" > label:<name:"pod_name" value:"tosboetest-version-1-0-0-1-deployment-768bdc6969-cbhg5" > label:<name:"response_code" value:"200" > label:<name:"response_code_class" value:"2xx" > label:<name:"revision_name" value:"tosboetest-version-1-0-0-1" > label:<name:"service_name" value:"tosboetest" > counter:<value:96 > } was collected before with the same name and label values
* collected metric "revision_request_latencies" { label:<name:"configuration_name" value:"tosboetest" > label:<name:"container_name" value:"queue-proxy" > label:<name:"namespace_name" value:"test7" > label:<name:"pod_name" value:"tosboetest-version-1-0-0-1-deployment-768bdc6969-cbhg5" > label:<name:"response_code" value:"200" > label:<name:"response_code_class" value:"2xx" > label:<name:"revision_name" value:"tosboetest-version-1-0-0-1" > label:<name:"service_name" value:"tosboetest" > histogram:<sample_count:96 sample_sum:114.00000000000004 bucket:<cumulative_count:96 upper_bound:5 > bucket:<cumulative_count:96 upper_bound:10 > bucket:<cumulative_count:96 upper_bound:20 > bucket:<cumulative_count:96 upper_bound:40 > bucket:<cumulative_count:96 upper_bound:60 > bucket:<cumulative_count:96 upper_bound:80 > bucket:<cumulative_count:96 upper_bound:100 > bucket:<cumulative_count:96 upper_bound:150 > bucket:<cumulative_count:96 upper_bound:200 > bucket:<cumulative_count:96 upper_bound:250 > bucket:<cumulative_count:96 upper_bound:300 > bucket:<cumulative_count:96 upper_bound:350 > bucket:<cumulative_count:96 upper_bound:400 > bucket:<cumulative_count:96 upper_bound:450 > bucket:<cumulative_count:96 upper_bound:500 > bucket:<cumulative_count:96 upper_bound:600 > bucket:<cumulative_count:96 upper_bound:700 > bucket:<cumulative_count:96 upper_bound:800 > bucket:<cumulative_count:96 upper_bound:900 > bucket:<cumulative_count:96 upper_bound:1000 > bucket:<cumulative_count:96 upper_bound:2000 > bucket:<cumulative_count:96 upper_bound:5000 > bucket:<cumulative_count:96 upper_bound:10000 > bucket:<cumulative_count:96 upper_bound:20000 > bucket:<cumulative_count:96 upper_bound:50000 > bucket:<cumulative_count:96 upper_bound:100000 > > } was collected before with the same name and label values
* collected metric "revision_app_request_count" { label:<name:"configuration_name" value:"tosboetest" > label:<name:"container_name" value:"queue-proxy" > label:<name:"namespace_name" value:"test7" > label:<name:"pod_name" value:"tosboetest-version-1-0-0-1-deployment-768bdc6969-cbhg5" > label:<name:"response_code" value:"200" > label:<name:"response_code_class" value:"2xx" > label:<name:"revision_name" value:"tosboetest-version-1-0-0-1" > label:<name:"service_name" value:"tosboetest" > counter:<value:96 > } was collected before with the same name and label values
* collected metric "revision_app_request_latencies" { label:<name:"configuration_name" value:"tosboetest" > label:<name:"container_name" value:"queue-proxy" > label:<name:"namespace_name" value:"test7" > label:<name:"pod_name" value:"tosboetest-version-1-0-0-1-deployment-768bdc6969-cbhg5" > label:<name:"response_code" value:"200" > label:<name:"response_code_class" value:"2xx" > label:<name:"revision_name" value:"tosboetest-version-1-0-0-1" > label:<name:"service_name" value:"tosboetest" > histogram:<sample_count:96 sample_sum:108.00000000000006 bucket:<cumulative_count:96 upper_bound:5 > bucket:<cumulative_count:96 upper_bound:10 > bucket:<cumulative_count:96 upper_bound:20 > bucket:<cumulative_count:96 upper_bound:40 > bucket:<cumulative_count:96 upper_bound:60 > bucket:<cumulative_count:96 upper_bound:80 > bucket:<cumulative_count:96 upper_bound:100 > bucket:<cumulative_count:96 upper_bound:150 > bucket:<cumulative_count:96 upper_bound:200 > bucket:<cumulative_count:96 upper_bound:250 > bucket:<cumulative_count:96 upper_bound:300 > bucket:<cumulative_count:96 upper_bound:350 > bucket:<cumulative_count:96 upper_bound:400 > bucket:<cumulative_count:96 upper_bound:450 > bucket:<cumulative_count:96 upper_bound:500 > bucket:<cumulative_count:96 upper_bound:600 > bucket:<cumulative_count:96 upper_bound:700 > bucket:<cumulative_count:96 upper_bound:800 > bucket:<cumulative_count:96 upper_bound:900 > bucket:<cumulative_count:96 upper_bound:1000 > bucket:<cumulative_count:96 upper_bound:2000 > bucket:<cumulative_count:96 upper_bound:5000 > bucket:<cumulative_count:96 upper_bound:10000 > bucket:<cumulative_count:96 upper_bound:20000 > bucket:<cumulative_count:96 upper_bound:50000 > bucket:<cumulative_count:96 upper_bound:100000 > > } was collected before with the same name and label values
* Curl_http_done: called premature == 0
* Connection #0 to host 172.24.1.131 left intact
Actual Behavior
Steps to Reproduce the Problem
In what area(s)?
/area monitoring
What version of Knative?
Expected Behavior
queue-proxy 9091 metrics serve error:
500 Internal Server Errorand metrics data with some error ofcollected metric xxx was collected before with the same name and label valuesmetrics request as follows
Actual Behavior
Steps to Reproduce the Problem