Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems running in Kubernetes #39

Open
KuLi opened this issue Oct 6, 2017 · 7 comments
Open

Problems running in Kubernetes #39

KuLi opened this issue Oct 6, 2017 · 7 comments

Comments

@KuLi
Copy link

KuLi commented Oct 6, 2017

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
Copy link

remeika commented Nov 9, 2017

What is the output of the Nginx VTS stats page?

@KuLi
Copy link
Author

KuLi commented Nov 21, 2017

Here is our VTS JSON Output
vts-output.log

@sysulq
Copy link
Owner

sysulq commented Mar 12, 2018

hi @KuLi , did you solve this problem already?

@KuLi
Copy link
Author

KuLi commented Apr 6, 2018

hi, @hnlq715, no the problem is still there

@etlfg
Copy link

etlfg commented Oct 29, 2018

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
Copy link

Same problem!

@xiaojiayu404
Copy link

Same problem!How to solve this problem ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants