Code Monkey home page Code Monkey logo

spigot-plugin-newrelic's Introduction

This Spigot plugin allows people with a free or paid New Relic account to send performance data about their Minecraft server and details about core events that occur on their server to New Relic's platform for analysis and graphing.

Installation

  • Create a New Relic account, if you don't have one.
  • Download the latest New Relic Java Agent for manual installs from New Relic's Web Site.
  • Unzip the archive in the root directory of your minecraft server. The same location as your Spigot jar.
  • Add "-javaagent:newrelic/newrelic.jar" to the java launch command that you use for your server.
  • Add the newrelic-api.jar to your launch classpath with something like "-cp spigot.jar:newrelic/newrelic-api.jar"
    • Note: that if you were using "-jar spigot.jar" to launch the server, you will want to remove this and replace it with "-cp spigot.jar:newrelic/newrelic-api.jar org.bukkit.craftbukkit.Main"
    • We don't include this as you might already be using New Relic, and we must ensure the newrelic jar and the newrelic-api jar are the same version.
  • Edit newrelic/newrelic.yml and at a minimum ensure that your license_key and app_name are set appropriately.

Features

  • Enable and disable reporting
  • Control which events you want to submit data about.

Commands

  • /nrenable - enable reporting to New Relic
  • /nrdisable - disable reporting to New Relic
  • /nrcheck - check for an updated New Relic plugin
  • /nrupdate - download and install an updated New Relic plugin

Permissions

  • newrelic.admin: false
    • Allows you to enable or disable reporting, and check for updates.

Configuration

enabled: true
updates:
  apply: true
  progress: true
track:
  entity:
    death: true
  creature:
    spawn: true
  player:
    death: true
    join: true
    kick: true
    quit: true
    respawn: true
    teleport: true
  block:
    place: true
    break: true
  server:
    command: true
    remotecommand: true
  chunk:
    load: true
    unload: true

Acknowledgements

This plugin is the results of a lot of things, including:

NOTE: You can post issues, etc. to the GitHub repo.

spigot-plugin-newrelic's People

Contributors

spkane avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

kasperfranz

spigot-plugin-newrelic's Issues

misconfiguration of auto update

my log just told me to inform you :)

But anyway. Thank you for thank awesome plugin.

[21:21:15] [Server thread/INFO]: [NewRelicPlugin] Enabling NewRelicPlugin v0.2
[21:21:16] [Thread-25/WARN]: [NewRelicPlugin] The author of this plugin (spkane) has misconfigured their Auto Update system
[21:21:16] [Thread-25/WARN]: [NewRelicPlugin] File versions should follow the format 'PluginName vVERSION'
[21:21:16] [Thread-25/WARN]: [NewRelicPlugin] Please notify the author of this error.

Error Tracing

Hello @spkane,

Just wondering if this plugin can catch/trace errors? It'll be more awesome if it can trace errors for immediate action.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.