nginx-vts-exporter
nginx-vts-exporter copied to clipboard
Problems running in Kubernetes
I added the exporter to our Kubernetes Cluster at the nginx Controller. At the metrics page i get the following errors
4 error(s) occurred:
* collected metric nginx_upstream_response label:<name:"backend" value:"xxx.xxx.xxx.xxx:80" > label:<name:"upstream" value:"xxx" > gauge:<value:0 > was collected before with the same name and label values
* collected metric nginx_upstream_response label:<name:"backend" value:"xxx.xxx.xxx.xxx:80" > label:<name:"upstream" value:"xxx" > gauge:<value:0 > was collected before with the same name and label values
* collected metric nginx_upstream_response label:<name:"backend" value:"xxx.xxx.xxx.xxx:80" > label:<name:"upstream" value:"xxx" > gauge:<value:0 > was collected before with the same name and label values
* collected metric nginx_upstream_response label:<name:"backend" value:"xxx.xxx.xxx.xxx:80" > label:<name:"upstream" value:"xxx" > gauge:<value:0 > was collected before with the same name and label values
I have 4 endpoints behind this nginx. I use the latest docker image. Do you have any suggestion for me to fix that errors?
What is the output of the Nginx VTS stats page?
Here is our VTS JSON Output vts-output.log
hi @KuLi , did you solve this problem already?
hi, @hnlq715, no the problem is still there
Same problem here ! Got a lot of "was collected before with the same name and label values" lines
# nginx-vts-exporter --version
nginx_vts_exporter, version 0.10.3 (branch: HEAD, revision: 7ae72460468dbaa1804f8cc9c0b1dfe9bd571577)
build user: travis@travis-job-fdea9879-2361-42f7-aba3-83857dca83c4
build date: 20180823-12:13:40
go version: go1.9.4
Same problem!
Same problem!How to solve this problem ?