jbeveland27 / newrelic-observability-packs

New Relic One observability packs jump start your New Relic journey by providing immediate value for your specific use cases.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Community Project header

New Relic One Observability Packs

🧪 This project is currently in an ALPHA state 🧪

New Relic One observability packs jump start your New Relic journey by providing immediate value for your specific use cases. They include:

  • Clear steps for instrumenting your services
  • Observability building blocks like dashboards and alerts

All of this is available through an open ecosystem where New Relic developers, partners, and customers contribute their best-practice solutions.

Getting Started

Contribute your own observability pack to the New Relic One catalog by following the steps below:

  1. Fork the Github repository

  2. Clone your own repository to your local machine

  3. Copy the _template directory and its content to a new directory within the packs folder. Choose a name which identifies the purpose of your pack, such as rabbitmq, apm-errors, sre, or aws-s3

  4. In your new directory, you'll find the following folders: dashboards, alerts, flex, and synthetics. Each folder contains a template that you can use to create entities for your observability pack.

    For example, to add an existing dashboard to your new observability pack, copy the dashboard's JSON, and save it as a JSON file in the dashboards directory. Next, create a screenshot of your dashboard, add it to dashboards, and give it the same name as your JSON file.

    Note: You can add multiple JSON files and screenshots to dashboards. Pair each screenshot with a JSON file by using the same file name. If you want multiple screenshots for a dashboard, add a number at the end of the file name. So, your dashboards folder might contain:

    • rabbitmq.json
    • rabbitmq.png or rabbitmq.jpeg
    • rabbitmq01.png
    • rabbitmq02.png

    This process is similar for all other entity directories. Also, if you don't want to create entities for a given type, you can simply delete the corresponding directory.

  5. In your pack's root directory, you'll find a config.yaml file. Set the name of your pack. Everything else is optional.

  6. Commit your changes using the Conventional Commit syntax:

    git add -A
    git commit -m "feat([name]): Added [name]"

    Change the [name] and add a description of the dashboard you've added.

  7. Push your changes to Github:

    git push
  8. Create a pull request in the parent repository.

  9. Submit and wait for review. We will review as fast as we can, but it can sometimes take a day or two.

Thanks a lot for your submission!

Testing

Importer

We've included an importer utility for testing packs on your account. You can run this using the included import.sh script.

Note: The importer spins up a docker container, so you must have docker installed and running for this to function

  1. Modify importer-config.sh with your account number and New Relic API Key

  2. Run import.sh from the root of this project:

    # Usage:
    ./import.sh $PACK_NAME
    
    # Example
    > ./import.sh mysql

Support

New Relic hosts and moderates an online forum where customers can interact with New Relic employees as well as other customers to get help and share best practices. Like all official New Relic open source projects, there's a related Community topic in the New Relic Explorers Hub. You can find this project's topic/threads here:

Add the url for the support thread here: discuss.newrelic.com

Contribute

We encourage your contributions to improve New Relic One observability packs! Keep in mind that when you submit your pull request, you'll need to sign the CLA via the click-through using CLA-Assistant. You only have to sign the CLA one time per project.

If you have any questions, or to execute our corporate CLA (which is required if your contribution is on behalf of a company), drop us an email at opensource@newrelic.com.

A note about vulnerabilities

As noted in our security policy, New Relic is committed to the privacy and security of our customers and their data. We believe that providing coordinated disclosure by security researchers and engaging with the security community are important means to achieve our security goals.

If you believe you have found a security vulnerability in this project or any of New Relic's products or websites, we welcome and greatly appreciate you reporting it to New Relic through HackerOne.

If you would like to contribute to this project, review these guidelines.

To all contributors, we thank you! Without your contribution, this project would not be what it is today. We also host a community project page dedicated to New Relic One observability packs(<LINK TO https://opensource.newrelic.com/projects/... PAGE>).

License

New Relic One observability packs is licensed under the Apache 2.0 License.

About

New Relic One observability packs jump start your New Relic journey by providing immediate value for your specific use cases.

License:Apache License 2.0


Languages

Language:TypeScript 73.9%Language:JavaScript 22.7%Language:Shell 2.7%Language:Dockerfile 0.7%