Problems running in Kubernetes
Opened this issue · 7 comments
KuLi commented
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?
remeika commented
What is the output of the Nginx VTS stats page?
KuLi commented
Here is our VTS JSON Output
vts-output.log
etlfg commented
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
ZILosoft commented
Same problem!
xiaojiayu404 commented
Same problem!How to solve this problem ?