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

cluster.routing.allocation.exclude metrics are not exposed #941

Open
alinix-alinix opened this issue Oct 10, 2024 · 1 comment
Open

cluster.routing.allocation.exclude metrics are not exposed #941

alinix-alinix opened this issue Oct 10, 2024 · 1 comment

Comments

@alinix-alinix
Copy link

Hello! For some reasons cluster.routing.allocation.exclude._ip is not exposed with exporter, version 1.8.
It exposes watermarks though.

$ > curl -u user:pass -XGET http://localhost:9200/_cluster/settings?pretty | grep -C 10 allocation
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   600  100   600    0     0   264k      0 --:--:-- --:--:-- --:--:--  585k
{
  "persistent" : {
    "cluster" : {
      "routing" : {
        "allocation" : {
          "disk" : {
            "watermark" : {
              "low" : "0.85",
              "flood_stage" : "0.95",
              "high" : "0.9"
            }
          },
          "exclude" : {
            "_ip" : "10.178.3.100"
          }
--
      "info" : {
        "update" : {
          "interval" : "1m"
        }
      }
    }
  },
  "transient" : {
    "cluster" : {
      "routing" : {
        "allocation" : {
          "exclude" : {
            "_ip" : ""
          }
        }
      }
    }
  }
}

@alinix-alinix
Copy link
Author

well it would be great if we could have 1 or 0 value if setting is set or not.

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

1 participant