elasticsearch_exporter icon indicating copy to clipboard operation
elasticsearch_exporter copied to clipboard

Error occurred when using 1.5.0 version, enabled es.all | two es instances running on the server

Open Edvision opened this issue 2 years ago • 3 comments

Error occurred when using 1.5.0 version, but it's running fine when I use 1.1.0 version. I have two es instances running on the server, I think this is the root cause of the error.

Command: ./elasticsearch_exporter --es.uri https://USERNAME:PASSWORD@es-host1:9200 --es.all --es.ssl-skip-verify

Error info:

An error has occurred while serving metrics:

347 error(s) occurred:

  • collected metric "elasticsearch_nodes_roles" { label:<name:"cluster" value:"escluster" > label:<name:"host" value:"es-host1" label:<name:"name" value:"es-host1" > label:<name:"role" value:"data" > gauge:<value:1 > } was collected before with the same name and label values
  • collected metric "elasticsearch_nodes_roles" { label:<name:"cluster" value:"escluster" > label:<name:"host" value:"es-host1" label:<name:"name" value:"es-host1" > label:<name:"role" value:"client" > gauge:<value:1 > } was collected before with the same name and label values
  • collected metric "elasticsearch_nodes_roles" { label:<name:"cluster" value:"escluster" > label:<name:"host" value:"es-host1" label:<name:"name" value:"es-host1" > label:<name:"role" value:"ingest" > gauge:<value:1 > } was collected before with the same name and label values
  • collected metric "elasticsearch_nodes_roles" { label:<name:"cluster" value:"escluster" > label:<name:"host" value:"es-host2" label:<name:"name" value:"es-host2" > label:<name:"role" value:"data" > gauge:<value:1 > } was collected before with the same name and label values
  • collected metric "elasticsearch_nodes_roles" { label:<name:"cluster" value:"escluster" > label:<name:"host" value:"es-host2" label:<name:"name" value:"es-host2" > label:<name:"role" value:"client" > gauge:<value:1 > } was collected before with the same name and label values
  • collected metric "elasticsearch_nodes_roles" { label:<name:"cluster" value:"escluster" > label:<name:"host" value:"es-host2" label:<name:"name" value:"es-host2" > label:<name:"role" value:"ingest" > gauge:<value:1 > } was collected before with the same name and label values ......

Edvision avatar Nov 21 '22 08:11 Edvision