Skip to content

Commit

Permalink
feat: added send data page
Browse files Browse the repository at this point in the history
  • Loading branch information
jcountsNR committed Feb 3, 2022
1 parent 60a6cf9 commit b763eec
Show file tree
Hide file tree
Showing 4 changed files with 196 additions and 258 deletions.
8 changes: 6 additions & 2 deletions src/data/nav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,11 @@
icon: fe-zap
url: '/contribute-to-quickstarts'
pages:
- title: Data Integration with the New Relic Event API
url: '/contribute-to-quickstarts/data-integration'
- title: Instrument your library
url: '/contribute-to-quickstarts/instrument-library'
pages:
- title: Send Event Data
url: '/contribute-to-quickstarts/instrument-library/send-events'
- title: Build a quickstart
url: '/contribute-to-quickstarts/build-a-quickstart'
pages:
Expand All @@ -210,6 +213,7 @@
- title: Populate your alert configurations with NerdGraph
url: '/contribute-to-quickstarts/query-alerts-for-quickstart'


- title: Try our APIs
icon: nr-share
url: '/try-our-apis'
Expand Down
256 changes: 0 additions & 256 deletions src/markdown-pages/contribute-to-quickstarts/data-integration.mdx

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: 'Instrument your Library'
template: 'OverviewTemplate'
description: ''
---
<Intro>
If your looking to jump into building your own quickstart, the first step is instrumenting your own library to send data to New Relic. New Relic I/O gives end users the ability to slice and dice observability data around their application, server, etc. Setting up your library to get data into New Relic is critical to this process, so that the end users have a streamlined click-thorugh experience to see your data on our platform. You will need to instrument your library with at least one data type to be able to observe it via a dashboard or alert.
</Intro>

## Observability Data Options

New Relic has [four types of observability data](https://docs.newrelic.com/docs/data-apis/understand-data/new-relic-data-types) which we call MELT data; *Metrics, Events, Logs, and Traces*. Each one handles a specific use case, so you'll have to decide which one fits your needs best.

Here is some context to help you decide:

- [Events](contribute-to-quickstarts/create-a-quickstart/instrument-library/send-events) **(Most Common)**: Events are used if you are capturing something occuring in your application, server, library, etc. For CI/CD applications this might be a capture of each time a job runs. For security applications this might be any time a threat is detected.
- [Logs](https://docs.newrelic.com/docs/logs/log-api/introduction-log-api/) **(Common)**: Logs should be used if your library uses multiple attributes (ie. nested key-value data), or if your library is set up already to use log drains.
- [Metrics](https://docs.newrelic.com/docs/data-apis/ingest-apis/metric-api/introduction-metric-api/) **(Uncommon)**: Metrics are generally collected as aggregated data or as a numeric status at a point in time. Most metrics can be sent or aggregated through events, which is why we recommend events instead. You might want to use metrics if you view the data at a very high level, and don't expect your users to need a more detailed analysis.
- [Traces](https://docs.newrelic.com/docs/distributed-tracing/trace-api/introduction-trace-api/) **(Uncommon)**: Traces should be used if you have your own tool that tracks tracing, and you want to instrument that into new relic.

Loading

0 comments on commit b763eec

Please sign in to comment.