Battlesnake players are always looking for fun and creative ways to make their slithery digital companions more competitive. But how well does your Battlesnake function? The strategy of "eat that food" works, but you can improve it. I'll tell you how to monitor your Battlesnake performance, server, and web application in real-time with New Relic One, so you can help your snake live its best life. I'll be working with Node.js but New Relic has great documentation about custom instrumentation to help you instrument your Battlesnake with a variety of languages and tools.

1. First, you need a New Relic account. If you already have one, log in. If you do not have an account yet, you can sign up for New Relic One for free. There's no trial period so you can keep using your account forever. Your free account includes 100 GB/month of free data ingest, one free full-access user, and unlimited free basic users.

2. Now you can begin to instrument your snakes! My snake's example code is located at replit.com. On the New Relic One home page, select the + Add more data button on the top right, and choose how you will be adding data.

Attachments

  • Original Link
  • Original Document
  • Permalink

Disclaimer

New Relic Inc. published this content on 21 March 2022 and is solely responsible for the information contained therein. Distributed by Public, unedited and unaltered, on 23 March 2022 17:06:05 UTC.