diff --git a/src/markdown-pages/automate-workflows/workflow-automation.mdx b/src/markdown-pages/automate-workflows/workflow-automation.mdx index 6dfbf619a..9724dbc33 100644 --- a/src/markdown-pages/automate-workflows/workflow-automation.mdx +++ b/src/markdown-pages/automate-workflows/workflow-automation.mdx @@ -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 diff --git a/src/markdown-pages/collect-data-from-any-source.mdx b/src/markdown-pages/collect-data-from-any-source.mdx index 5902dfaf9..09748fd50 100644 --- a/src/markdown-pages/collect-data-from-any-source.mdx +++ b/src/markdown-pages/collect-data-from-any-source.mdx @@ -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 --- diff --git a/src/markdown-pages/components/add-custom-attributes.mdx b/src/markdown-pages/components/add-custom-attributes.mdx index 4958747e8..c3d25af42 100644 --- a/src/markdown-pages/components/add-custom-attributes.mdx +++ b/src/markdown-pages/components/add-custom-attributes.mdx @@ -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 --- @@ -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 ``` -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. - +![UC2-sec1-query.png](https://developer.newrelic.com/content/dam/component-assets/developer/d09-screencap/UC2-sec1-query.png) diff --git a/src/markdown-pages/custom-events.mdx b/src/markdown-pages/custom-events.mdx index cafa3bfdc..4f9f8ecc9 100644 --- a/src/markdown-pages/custom-events.mdx +++ b/src/markdown-pages/custom-events.mdx @@ -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._ diff --git a/src/markdown-pages/nerdstorage.mdx b/src/markdown-pages/nerdstorage.mdx index 799fdad6b..8c39a88e4 100644 --- a/src/markdown-pages/nerdstorage.mdx +++ b/src/markdown-pages/nerdstorage.mdx @@ -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 diff --git a/src/markdown-pages/publish-deploy.mdx b/src/markdown-pages/publish-deploy.mdx index 7cf22eb0f..129da2375 100644 --- a/src/markdown-pages/publish-deploy.mdx +++ b/src/markdown-pages/publish-deploy.mdx @@ -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 --- diff --git a/src/markdown-pages/query-and-store-data.mdx b/src/markdown-pages/query-and-store-data.mdx index 66109485a..f712912be 100644 --- a/src/markdown-pages/query-and-store-data.mdx +++ b/src/markdown-pages/query-and-store-data.mdx @@ -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 --- diff --git a/src/markdown-pages/query-data-nrql.mdx b/src/markdown-pages/query-data-nrql.mdx index fe64b7f80..bd811eb6f 100644 --- a/src/markdown-pages/query-data-nrql.mdx +++ b/src/markdown-pages/query-data-nrql.mdx @@ -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 --- diff --git a/src/markdown-pages/reference/intro-to-sdk.mdx b/src/markdown-pages/reference/intro-to-sdk.mdx index 4fee0aefd..70330ec1b 100644 --- a/src/markdown-pages/reference/intro-to-sdk.mdx +++ b/src/markdown-pages/reference/intro-to-sdk.mdx @@ -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 --- diff --git a/src/markdown-pages/reference/nr1-cli.mdx b/src/markdown-pages/reference/nr1-cli.mdx index 33735415c..4e8193348 100644 --- a/src/markdown-pages/reference/nr1-cli.mdx +++ b/src/markdown-pages/reference/nr1-cli.mdx @@ -3,6 +3,8 @@ path: '/reference/nr1-cli' title: 'New Relic One CLI' template: 'GuideTemplate' description: 'An overview of the CLI to help you build, deploy, and manage New Relic apps.' +redirects: + - /build-tools/new-relic-one-applications/cli ---