Skip to content

Releases: kobaltz/mission_control-servers

v0.4.0

12 Jun 20:47
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.3.3...0.4.0

0.3.3

12 Feb 04:59
Compare
Choose a tag to compare

Routing Refactor

It became apparent with the Public Links that the needed routes for dashboards with constraints will result in many additional routes. So, there is a helper that will add the public links.

MissionControl::Servers::RoutingHelpers.add_public_routes_helper(self)
constraints AdminConstraint do
  mount MissionControl::Servers::Engine => "/mission_control-servers"
end

If you need to override the default path where MissionControl::Server is mounted, you can set the engine path.

engine_path = "/dashymcdashface"
MissionControl::Servers::RoutingHelpers.add_public_routes_helper(self, engine_path)
constraints AdminConstraint do
  mount MissionControl::Servers::Engine => engine_path
end

0.3.0

12 Feb 03:40
Compare
Choose a tag to compare

Public Links! Addresses #3

You can now create public links for Projects. When you are on the projects#index page, you will now see a Public LInks. You can generate a public link and also set some URL Parameters at the same time. Setting the parameters will automatically update the URLs. You can always revoke the public link by removing it.

ScreenShot-2024-02-11-22-13-27

Don't forget to run bin/rails mission_control_servers:install:migrations

If you are using constraints when mounting the engine, then you will need to add a route.

  get "/mission_control-servers/projects/:project_id/dashboards/project_table", to: "mission_control/servers/dashboards/project_tables#show"
  get "/mission_control-servers/projects/:project_id/dashboards/cpu_usage", to: "mission_control/servers/dashboards/cpu_usages#show"
  get "/mission_control-servers/projects/:project_id/dashboards/memory_usage", to: "mission_control/servers/dashboards/memory_usages#show"
  get "/mission_control-servers/projects/:project_id/dashboards/disk_free", to: "mission_control/servers/dashboards/disk_frees#show"
  get "/mission_control-servers/projects/:project_id/dashboards/last_seen", to: "mission_control/servers/dashboards/last_seens#show"
  get "/mission_control-servers/projects/:project_id/dashboards/cpu_history", to: "mission_control/servers/dashboards/cpu_histories#show"
  get "/mission_control-servers/projects/:project_id/dashboards/memory_history", to: "mission_control/servers/dashboards/memory_histories#show"
  get "/mission_control-servers/projects/:project_id/dashboards/combo_history", to: "mission_control/servers/dashboards/combo_histories#show"
  get '/mission_control-servers/projects/:project_id/public_projects/:id', to: 'mission_control/servers/public_projects#show'
  get '/mission_control-servers/projects/:project_id/script', to: 'mission_control/servers/scripts#show'
  post '/mission_control-servers/projects/:project_id/ingress', to: 'mission_control/servers/ingresses#create'
constraints AdminConstraint do
  mount MissionControl::Servers::Engine => "/mission_control-servers"
end

0.2.8

11 Feb 19:54
Compare
Choose a tag to compare

Fixes #6 Project#index Last Seen metric
Fixes #7 Ability to rename hosts on the Projects#Index page.

Screenshot 2024-02-11 at 3 11 10 PM

New migration in this release so don't forget to bin/rails mission_control_servers:install:migrations

0.2.6

11 Feb 05:20
Compare
Choose a tag to compare
  • Bash compatibility when executing the script
    • sh not compatible with [[ ]]

0.2.5

11 Feb 02:46
Compare
Choose a tag to compare
  • DEBUG Environment Variable can be used to debug CURL requests by @6temes
  • Invalid Tokens returns 404 instead of 422 by @6temes

0.2.4

10 Feb 14:10
Compare
Choose a tag to compare

Combo Chart by default which shows the percentage used for CPU and Memory. This can be disabled with ?combo=false URL Parameter

ScreenShot-2024-02-10-09-09-38

0.2.2

10 Feb 05:24
Compare
Choose a tag to compare

Updated Dark Mode styling to make it easier to see which server tab is currently active.

v0.2.1

10 Feb 05:18
Compare
Choose a tag to compare

v0.2.1

Changed layout when multiple servers are reporting metrics for one
project to a tabbed layout. This allows for easier navigation between
the different servers.

By default, the tabs will rotate every 10 seconds. This can be changed
by setting ?interval=4 in the URL. This will change the interval to 4
seconds between tab changes.

ScreenShot-2024-02-10-00-16-59

0.1.6

09 Feb 11:55
Compare
Choose a tag to compare

Added Last Seen stat
Updated styles so that the stats fit on a 1080p screen

ScreenShot-2024-02-09-06-49-18