Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add redirects for pages that need it #235

Merged
merged 5 commits into from
Jun 25, 2020
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/markdown-pages/automate-workflows/workflow-automation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ path: '/automate-workflows/workflow-automation'
title: 'Orchestrate observability workflows'
description: 'Tools to automate your observability ecosystem'
template: 'GuideTemplate'
redirects:
- /use-cases/workflow-automation
---

## Define and automate observability
Expand Down
2 changes: 1 addition & 1 deletion src/markdown-pages/collect-data-from-any-source.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: 'Collect data from any source'
template: 'GuideTemplate'
description: 'Open source emitters. APIs. New Relic agents. Get data from anywhere. '
redirects:
- /build-tools/tools-for-ingesting-data/custom-attributes
- /use-cases/collect-data-from-any-source
---

<Intro>
Expand Down
17 changes: 10 additions & 7 deletions src/markdown-pages/components/add-custom-attributes.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---

path: '/collect-data/custom-attributes'
duration: ''
title: 'Add custom attributes to your New Relic data'
template: 'GuideTemplate'
description: 'Add metadata for more detailed analysis'
redirects:
- /build-tools/tools-for-ingesting-data/custom-attributes
---

<Intro>
Expand All @@ -14,20 +14,23 @@ There are countless filters and pivots you might want to apply to your data. By
You can add a `userid` custom attribute to your APM-reported data (`Transaction` and `TransactionError events`) with the Java APM agent's API.


```NewRelic.addCustomParameter("userid", userId);
```
NewRelic.addCustomParameter("userid", userId);
```


Once added, you can run a NRQL query that uses the 'userid' custom attribute.

```-- Get a count of errors experienced by a single filtered userid faceted by date and error message
```
-- Get a count of errors experienced by a single filtered userid faceted by date and error message
SELECT count(*) FROM TransactionError WHERE userid = '616e6472-6577-7340-7961-686f6f2e636f' FACET dateOf(timestamp), `error.message` SINCE 1 week ago
```
<a href="https://developer.newrelic.com/technology/nrql">Learn more about NRQL/a>

Once you have added a custom attribute like 'userid', you can use it to filter and facet your NRQL queries.
[Learn more about NRQL](https://developer.newrelic.com/technology/nrql)

Once you have added a custom attribute like 'userid', you can use it to filter and facet your NRQL queries.

<img src="https://developer.newrelic.com/content/dam/component-assets/developer/d09-screencap/UC2-sec1-query.png">
![UC2-sec1-query.png](https://developer.newrelic.com/content/dam/component-assets/developer/d09-screencap/UC2-sec1-query.png)

</Intro>

Expand Down
2 changes: 2 additions & 0 deletions src/markdown-pages/custom-events.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ duration: '5 min'
title: 'Create custom New Relic events'
template: 'GuideTemplate'
description: 'Create custom New Relic events'
redirects:
- /build-tools/tools-for-ingesting-data/custom-events
---

## _Measure what you need by creating your own event types._
Expand Down
2 changes: 2 additions & 0 deletions src/markdown-pages/nerdstorage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ title: 'Intro to NerdStorage'
duration: '30 min'
template: 'GuideTemplate'
description: 'Intro to NerdStorage on New Relic One'
redirects:
- /build-tools/new-relic-one-applications/nerdstorage
---

## Use NerdStorage in your apps
Expand Down
2 changes: 2 additions & 0 deletions src/markdown-pages/publish-deploy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ duration: '20 min'
title: 'Serve, publish, and deploy your New Relic One app'
template: 'GuideTemplate'
description: 'Start sharing and using the custom New Relic One apps you build.'
redirects:
- /build-tools/new-relic-one-applications/publish-deploy
---

<Intro>
Expand Down
2 changes: 2 additions & 0 deletions src/markdown-pages/query-and-store-data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ duration: '10 min'
title: 'Query and store data'
template: 'GuideTemplate'
description: 'Reference guide for SDK query components using NerdGraph'
redirects:
- /build-tools/new-relic-one-applications/query-and-store-data
---

<Intro>
Expand Down
2 changes: 2 additions & 0 deletions src/markdown-pages/query-data-nrql.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ duration: '10 min'
title: 'Query data with NRQL'
template: 'GuideTemplate'
description: 'Query default event data as well as custom events and attributes with our powerful, SQL-like query language. Start querying now.'
redirects:
- /technology/nrql
---

<Intro>
Expand Down
2 changes: 2 additions & 0 deletions src/markdown-pages/reference/intro-to-sdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ path: '/reference/intro-to-sdk'
title: 'Intro to New Relic One API components'
template: 'GuideTemplate'
description: 'Intro to New Relic One API components'
redirects:
- /build-tools/new-relic-one-applications/intro-to-sdk
---

<Intro>
Expand Down