Skip to content

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

Open
@Edvision

Description

@Edvision

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
    ......

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions