This procedure is a part of course that teaches you how to build a quickstart. If you haven't already, checkout the course introduction
As this procedure builds on top of the last ones in the lab, make sure you create dashboard & alerts add them to your quickstart before proceeding with this one.
Data sources represent a single type of instrumentation, such as an agent, attributes on a transaction, a cloud provider integration, a third-party integration, etc.
There are two types of data sources:
The CORE data sources are provided by New Relic One and do not exist within this repository, the COMMUNITY data sources are defined within the quickstart repository.
COMMUNITY data sources live in the data-sources/ directory. In this procedure, you learn how to add a data source to your quickstart.
If you haven't already, fork the New Relic quickstarts repository and clone it to your local machine.
Open your Project in the IDE of your choice and navigate to _template directory.
Here, copy data-sources/example-data-source directory and it's content to data-sources directory at the root level. Rename the directory as flashdb.
This directory contains sample YAML file to create a data source.
Navigate to datasources/flashdb/config.yml file and add details of your data source. For your reference, flashdb data source should be similar to following:
id: flashdbdisplayName: FlashDBdescription: |FlashDB is the fastest and lightest database in the universe. First, it can handle a large number of concurrent users without slowing down. Second, it has a very low latency, so queries are processed quickly. And finally, it scales easily as your data grows.This quickstart allows users to monitor their database to ensure peak performance. It also notifies you if there's any problem the database.The flashdb quickstart includes:## a dashboardwhere users can easily monitor:- Database methods- Average response time- Errors- Database size- Cache hits- Keys## alert conditionswhere users are notified on:- slow read responses- low cache hiticon: logo.svginstall:primary:link:url: https://www.newrelic.comkeywords:- infrastructure- databasecategoryTerms:- database
Add a logo for your data source. It can be either ".svg" or ".png". Your data source directory should look similar to the following.
This procedure is a part of course that teaches you how to build a quickstart. Continue on to next procedure: contribute your quickstart.