Skip to content

Latest commit

 

History

History
59 lines (37 loc) · 1.69 KB

README.md

File metadata and controls

59 lines (37 loc) · 1.69 KB

Community-Project

Binder

New Relic SB SDK: Playground

This repository contains sample notebooks to get started with the New Relic SDK by Dynova.

Getting Started

  1. Clone this repository
git clone git@github.com:dynova/newrelic-sb-sdk-playground.git
  1. Install the dependencies
pyenv install $(cat .python-version)
poetry env use $(cat .python-version)
poetry install
  1. Create a .env file with your New Relic API key and your New Relic account id
cp .env.example .env
  1. Run the Jupiter lab server
poetry run jupyter lab --ContentsManager.allow_hidden=True
  1. Open the newrelic-sb-sdk-playground.ipynb notebook

Resources

Notes

On MyBinder yo can't see the .env file, so you'll need to replace the NRAK-your-new-relic-user-key with your own API key using sed. The same with the your-new-relic-account-id value.

cp .env.template .env
sed -i 's/NRAK-your-new-relic-user-key/YOUR-REAL-NEWRELIC-USER-KEY/g' .env
sed -i 's/your-new-relic-account-id/YOUR-REAL-NEWRELIC-USER-KEY/g' .env

License

This project is licensed under the terms of the MIT license.