No description, website, or topics provided.
PHP Scheme JavaScript CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_config
code
css
javascript
templates
.gitignore
.scrutinizer.yml
LICENSE
Readme.md
_config.php
circle.yml
code-of-conduct.md
composer.json

Readme.md

Dashboard Metrics Module

This module is designed to integrated Graphite and Deploynaut to surface some server metrics to the client.

First, you'll need to add an _ss_environment.php variable like so:

define('DEPLOYNAUT_METRICS_GRAPHITE_URL', 'http://metrics.platform.silverstripe.com');

Then, define the metric through model admin. You can then define a metric set by adding metrics to it. Assign a metric set to an environment and enable the ability to see the metrics, and there you go!

Here are some default queries to add in:

Load Average

alias(avg(server.{cluster}.{stack}.{env}.web.*.loadavg.1min),'Load Average')

Number of Webservers

alias(sumSeries(changed(server.{cluster}.{stack}.{env}.web.*.apache.uptime)),'sum')

Average Response Time

alias(maxSeries(server.{cluster}.{stack}.{env}.web.*.apache.mysite.request.time_95),'95th Percentile');alias(averageSeries(server.{cluster}.{stack}.{env}.web.*.apache.mysite.request.time_95),'Average')

Requests Per Minute

alias(sumSeries(server.{cluster}.{stack}.{env}.web.*.apache.mysite.request.req_per_min),'Apache (Dynamic)');alias(sumSeries(server.{cluster}.{stack}.{env}.web.*.nginx.mysite.request.req_per_min),'Nginx (Static)')