Skip to content

Commit

Permalink
feat(On-demand forecast): Added content for PP
Browse files Browse the repository at this point in the history
Updated the existing topics and added a new one for On-demand forecasting capability on chart.
  • Loading branch information
sujitnewrelic committed Jan 8, 2025
1 parent 1b94eff commit 8490a7c
Show file tree
Hide file tree
Showing 5 changed files with 114 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Other things metrics and events helps you do:

* See data from different points of view: from raw data to different visualizations that provide insights on evolution, distribution, and more.
* Drill down into data using filters.
* Forecast the trend of your data (If opted for on-demand forecast).
* Add your searches to a [dashboard](/docs/dashboards/new-relic-one-dashboards/get-started/introduction-new-relic-one-dashboards).
* Understand how [NRQL](/docs/query-data/nrql-new-relic-query-language/getting-started/introduction-nrql) works: metrics and events shows how queries are built.

Expand Down Expand Up @@ -257,6 +258,29 @@ At the working space you can see:
src="/images/queries-nrql_screenshot-crop_metrics-events-share-export.webp"
/>
</Collapser>

<Collapser
className="freq-link"
id="share-export"
title="Forecast"
>

If you have opted for On-demand forecast, you can add forecast to line charts, which uses historical data to project future trends.
Select <DNT>**Make a forecast**</DNT> from the <DNT>**Options**</DNT> menu on the chart.
The forecast apears in dotted lines with the defult range set to the next six time windows highlighted in gray.

You can further refine your query for the forecast to adjust the range as per your need. Refer [on-demand forecasting](/docs/query-your-data/explore-query-data/use-charts/on-demand-forecasting) for more details.

<img
title="Forecast in the Metrics and events view"
alt="Forecast in the Metrics and events view"
src=""
/>

<figcaption>
<DNT>(Image to add)**[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) > Metrics and events**</DNT>: Metrics and events view.
</figcaption>
</Collapser>
</CollapserGroup>

## Visualize your custom metric after creating it [#visualize-metric]
Expand Down Expand Up @@ -310,6 +334,21 @@ See the following examples to learn how and when to use metrics and events.
3. Find the attribute you made changes to and check the update was successful.
</Collapser>

<Collapser
className="freq-link"
id="use-case-new-data"
title="See forecast of a line chart (If opted for on-demand forecast)"
>
<DNT>
**I want to see the future trend of a line chart so that I can take proactive measures based on the forecasted data.**
</DNT>

1. go to <DNT>**[one.newrelic.com](https://one.newrelic.com) > All capabilities > Metrics and events**</DNT>.
2. Select the line chart.
3. Select <DNT>**Make a forecast**</DNT> from the <DNT>**Options**</DNT> menu. The forecasted chart opens in the <DNT>**Data explorer**</DNT>.
4. Save it to a dashboard.
</Collapser>

<Collapser
className="freq-link"
id="use-case-troubleshooting"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Other things the data explorer view helps you:

* View data from different perspectives: from raw data to various visualizations that give insights on evolution, distribution, and more.
* Drill down into data using filters.
* Forecast the trend of your data (If opted for on-demand forecast).
* Add your searches to a dashboard.
* Understand how NRQL works: the Data Explorer automatically generates the NRQL queries based on your selections.

Expand All @@ -46,6 +47,10 @@ To access the Data Explorer, navigate to the bottom <DNT>**Query your data**</DN
1. **Define the Scope**: Select the data type (metric, event, or log), the account, and the entities.
2. **Select the Time Range**: Use the time picker to define the time range for your query.
3. **Build Your Search**: Use the blocks on the left to browse the available data and construct your search. Blocks are searchable, and you can use the actions in the action menu to create and update your query.
4. **Refine your query**: Modify your query by adding filters, facets, and aggregations.

Check notice on line 50 in src/content/docs/query-your-data/explore-query-data/query-builder/introduction-new-data-explorer.mdx

View workflow job for this annotation

GitHub Actions / vale

[vale] src/content/docs/query-your-data/explore-query-data/query-builder/introduction-new-data-explorer.mdx#L50

[new-relic.ComplexWords] Consider using 'change' instead of 'Modify'.
Raw output
{"message": "[new-relic.ComplexWords] Consider using 'change' instead of 'Modify'.", "location": {"path": "src/content/docs/query-your-data/explore-query-data/query-builder/introduction-new-data-explorer.mdx", "range": {"start": {"line": 50, "column": 27}}}, "severity": "INFO"}
5. **Customize the chart visualization**: Upgrade your chart visualization from the customization options available.
6. **Make forecast for a line chart (If opted for on-demand forecast)**: Use <DNT>**Make a forecast**</DNT> from the **Options** menu to get a forecasted trend.
7. **Add to dashboard**: Add your chart to a dashboard for future reference.

<img
title="Data explorer view"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
---
title: On-demand forecasting
tags:
- Forecast on a chart
redirects:
freshnessValidatedDate: never
---

Forecasting in New Relic involves using historical data to predict future trends and potential performance issues.
By analyzing historical data, forecasting provides insights into how these metrics might behave in the future.
This proactive approach helps you to anticipate issues before they occur, enabling timely interventions to maintain optimal system performance.

Check notice on line 11 in src/content/docs/query-your-data/explore-query-data/use-charts/on-demand-forecasting.mdx

View workflow job for this annotation

GitHub Actions / vale

[vale] src/content/docs/query-your-data/explore-query-data/use-charts/on-demand-forecasting.mdx#L11

[new-relic.ComplexWords] Consider using 'expect' instead of 'anticipate'.
Raw output
{"message": "[new-relic.ComplexWords] Consider using 'expect' instead of 'anticipate'.", "location": {"path": "src/content/docs/query-your-data/explore-query-data/use-charts/on-demand-forecasting.mdx", "range": {"start": {"line": 11, "column": 38}}}, "severity": "INFO"}

Check notice on line 11 in src/content/docs/query-your-data/explore-query-data/use-charts/on-demand-forecasting.mdx

View workflow job for this annotation

GitHub Actions / vale

[vale] src/content/docs/query-your-data/explore-query-data/use-charts/on-demand-forecasting.mdx#L11

[new-relic.ComplexWords] Consider using 'keep' or 'support' instead of 'maintain'.
Raw output
{"message": "[new-relic.ComplexWords] Consider using 'keep' or 'support' instead of 'maintain'.", "location": {"path": "src/content/docs/query-your-data/explore-query-data/use-charts/on-demand-forecasting.mdx", "range": {"start": {"line": 11, "column": 108}}}, "severity": "INFO"}
Forecasting is a powerful tool for decision-making, helping teams to allocate resources effectively, and plan for potential challenges.

Check notice on line 12 in src/content/docs/query-your-data/explore-query-data/use-charts/on-demand-forecasting.mdx

View workflow job for this annotation

GitHub Actions / vale

[vale] src/content/docs/query-your-data/explore-query-data/use-charts/on-demand-forecasting.mdx#L12

[new-relic.ComplexWords] Consider using 'assign' or 'divide' instead of 'allocate'.
Raw output
{"message": "[new-relic.ComplexWords] Consider using 'assign' or 'divide' instead of 'allocate'.", "location": {"path": "src/content/docs/query-your-data/explore-query-data/use-charts/on-demand-forecasting.mdx", "range": {"start": {"line": 12, "column": 70}}}, "severity": "INFO"}

## Getting started [#getting-started-on-demand-forecast]
Waiting for the content to be added.

Check notice on line 15 in src/content/docs/query-your-data/explore-query-data/use-charts/on-demand-forecasting.mdx

View workflow job for this annotation

GitHub Actions / vale

[vale] src/content/docs/query-your-data/explore-query-data/use-charts/on-demand-forecasting.mdx#L15

[Microsoft.Passive] 'be added' looks like passive voice.
Raw output
{"message": "[Microsoft.Passive] 'be added' looks like passive voice.", "location": {"path": "src/content/docs/query-your-data/explore-query-data/use-charts/on-demand-forecasting.mdx", "range": {"start": {"line": 15, "column": 28}}}, "severity": "INFO"}

<img
title="Forecast in the Metrics and events view"
alt="Forecast in the Metrics and events view"
src=""
/>

<figcaption>
<DNT>(Image to add)**[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) > Metrics and events**</DNT>: Metrics and events view.
</figcaption>

## Create a forecast [#create-forecast]
Follow these steps to create a forecast on a line chart in New Relic:

<Steps>

<Step>
### Access a line chart [#access-a-line-chart]

1. Go to [one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities).
2. Choose a line chart from <DNT>**Dashboards**</DNT>, or open it from <DNT>**Metrics and events**</DNT>.
</Step>

<Step>
### Make a forecast [#make-a-forecast]

In the upper-right corner of the chart, select <DNT>**Make a forecast**</DNT> from the <DNT>**Options**</DNT> menu.
The forecasted chart opens in <DNT>**Data explorer**</DNT>.
The forecast range is automatically set to next six time windows highlighted in gray, and the graph appears in dotted lines within the forecast range.

The chart query is pre-populated with the `FORECAST` function. you can refine the query as per your requirements and run it to get the updated graph.

Check notice on line 46 in src/content/docs/query-your-data/explore-query-data/use-charts/on-demand-forecasting.mdx

View workflow job for this annotation

GitHub Actions / vale

[vale] src/content/docs/query-your-data/explore-query-data/use-charts/on-demand-forecasting.mdx#L46

[Microsoft.Wordiness] Consider using 'per' instead of 'as per'.
Raw output
{"message": "[Microsoft.Wordiness] Consider using 'per' instead of 'as per'.", "location": {"path": "src/content/docs/query-your-data/explore-query-data/use-charts/on-demand-forecasting.mdx", "range": {"start": {"line": 46, "column": 91}}}, "severity": "INFO"}

</Step>

<Step>
### Add to dashboard [#add-to-dashboard]

1. Click <DNT>**Add to dashboard**</DNT>.
2. Enter a widget name.
3. Search and slect a dashboard in which you want to add the widget, or create a new dashboard for it.

You can now view the forecasted chart on the selected dashboard.

</Step>

</Steps>
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,12 @@ For more chart type-specific features, see [Chart types](/docs/insights/use-insi

## Chart share and view options [#share-charts]

Most charts have various options, including a chart-embed option, getting a chart as an image, and adding a chart to a dashboard. See [Import, export, add, and share dashboards and charts](/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/)
Most charts have various options, including a chart-embed option, getting a chart as an image, and adding a chart to a dashboard. See [Import, export, add, and share dashboards and charts](/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/).

## Chart with a forecasted trend [#chart-forecasted-trend]

If you have opted for On-demand forecast, the line charts will have a forecast option, allowing you to project future trends based on historical data.
See [On-demand forecasting](/docs/query-your-data/explore-query-data/use-charts/on-demand-forecasting) for more information.

## Use open-source charting library [#victory-charts]

Expand Down
4 changes: 3 additions & 1 deletion src/nav/dashboards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ pages:
path: /docs/query-your-data/explore-query-data/use-charts/use-your-charts
- title: Chart types
path: /docs/query-your-data/explore-query-data/use-charts/chart-types
- title: Chart refresh rates
- title: Chart refresh rates
path: /docs/query-your-data/explore-query-data/use-charts/chart-refresh-rates
- title: On-demand forecasting
path: /docs/query-your-data/explore-query-data/use-charts/on-demand-forecasting
- title: Dashboards
pages:
- title: Get started with dashboards
Expand Down

0 comments on commit 8490a7c

Please sign in to comment.