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

Create cluster metrics endpoint that can return metrics for multiple nodes #1974

Closed
bernd opened this issue Mar 24, 2016 · 1 comment
Closed

Create cluster metrics endpoint that can return metrics for multiple nodes #1974

bernd opened this issue Mar 24, 2016 · 1 comment
Assignees
Milestone

Comments

@bernd
Copy link
Member

@bernd bernd commented Mar 24, 2016

Problem description

In a multiple node cluster the web interface does one HTTP call for every node in the cluster to fetch the metrics every 2 seconds.

Steps to reproduce the problem

  1. Setup multi node cluster
  2. See multiple HTTP requests in the network tab of the developer tools every 2 seconds

Proposal

Implement a new REST endpoint that takes a list of node ids and returns the metrics for them.

Environment

  • Graylog Version: Graylog 2.0.0-beta.2-SNAPSHOT (c0846cf)
@bernd bernd added this to the 2.0.0 milestone Mar 24, 2016
@kroepke
Copy link
Member

@kroepke kroepke commented Mar 24, 2016

Rather an "improvement" but since it's a regression to 1.3 we are liberal with the "bug" label.

@bernd bernd self-assigned this Mar 29, 2016
bernd added a commit that referenced this issue Mar 29, 2016
Adjust frontend MetricsStore to use the new endpoint. Saves nodes - 1 requests
in a multi node setup.

Fixes #1974
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants