Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.

Add a datacenter view to access information about the Sensu servers #660

Merged
merged 1 commit into from
Mar 23, 2017

Conversation

palourde
Copy link
Contributor

Description

We add a new datacenter view, accessible from the datacenters view, in order to access new information about the Sensu servers available since Sensu 0.28.

The Datacenter structure exposed in the /datacenters endpoint has been modified; the Stats attribute is now called Metrics.

We also add additional debug information when Sensu API does not respond properly.

Related Issue

Fixes #652
Depends on https://github.com/sensu/uchiwa-web/pull/145

Motivation and Context

Display Sensu servers information

Screenshots (if appropriate):

screen shot 2017-03-23 at 16 07 03

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@codecov-io
Copy link

codecov-io commented Mar 23, 2017

Codecov Report

Merging #660 into master will decrease coverage by 0.39%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master     #660     +/-   ##
=========================================
- Coverage   22.48%   22.08%   -0.4%     
=========================================
  Files          26       27      +1     
  Lines        2135     2173     +38     
=========================================
  Hits          480      480             
- Misses       1598     1636     +38     
  Partials       57       57
Impacted Files Coverage Δ
uchiwa/daemon/daemon.go 13.22% <0%> (-0.82%) ⬇️
uchiwa/datacenter.go 0% <0%> (ø)
uchiwa/server.go 0% <0%> (ø) ⬆️
uchiwa/daemon/datacenters.go 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 240a184...0ed1264. Read the comment docs.

@palourde palourde merged commit 10a002c into sensu:master Mar 23, 2017
@palourde palourde deleted the info-servers branch March 23, 2017 20:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support /info Sensu servers
2 participants