• /
  • EnglishEspañol日本語한국어Português
  • Log inStart now

Add a data source to the quickstart

Tip

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 youcreate a dashboard and create alerts 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:

  • CORE
  • COMMUNITY

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.

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: flashdb
displayName: FlashDB
description: |
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 dashboard
where users can easily monitor:
- Database methods
- Average response time
- Errors
- Database size
- Cache hits
- Keys
## alert conditions
where users are notified on:
- slow read responses
- low cache hit
icon: logo.svg
install:
primary:
link:
url: https://www.newrelic.com
keywords:
- infrastructure
- database
categoryTerms:
- database

Add a logo for your data source. It can be either .svg or .png.

Tip

This procedure is a part of course that teaches you how to build a quickstart. Continue on to next lesson: contribute your quickstart.

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.