This repo contains Grafana dashboards designed to help you get monitor your DarkRift servers.
You will need DarkRift Pro in order to view metrics.
- Install Prometheus
- Install Grafana
- Add the following configuration to your DarkRift server's
Server.configfile<metrics enablePerMessageMetrics="true"> <metricsWriter type="PrometheusEndpoint" /> </metrics>
enablePerMessageMetricswill slow down your server if you are running it under high load but will allow the dashboard to show additional metrics. Consider carefully whether you want that enabled. - Add the following configuration to your Prometheus server's
prometheus.ymlfile underneathscrape_configs- job_name: 'darkrift' static_configs: - targets: ['localhost:9796']
- Start your DarkRift server and your Prometheus server. To check the configuration so far navigate to http://localhost:9090 and search for metrics beginning with
darkrift. - Start Grafana, login with username
adminand passwordadmin. - Configure a new data source in Grafana by going to
Configuration(on the left bar) ->Data Sources->Add Data Source->Prometheus. Set the URL to behttp://localhost:9090and leave the name asPrometheus. - Copy the JSON in darkrift.json and in Grafana go to
Create(on the left bar) ->Import. Paste your JSON there and clickLoad.

