Machine Learning

Machine Learning

Grafana Machine Learning gives Grafana Cloud users the ability to create predictions of the current or future state of their systems.

To create predictions, you define a source query (the time series to be modeled) and the configuration for the machine learning model. The system will train the model in the background.

Once a model has been successfully trained, you can issue queries to predict the value of the series at different times into the future. The model will also return the confidence bounds for the predicted values.

Over time the model will keep learning new patterns, so it automatically evolves along with your data.

Get started

FAQ

How do alerts work with Grafana Machine Learning?

Grafana Machine Learning leverages the alerting capabilities built into Grafana. See the Using Grafana alerts in Grafana Cloud for more information.

Which Datasources does Grafana Machine Learning support?

Grafana Machine Learning currently supports Prometheus, Graphite, Loki (metric queries only), and Datadog Datasources.

What are the usage limits for Machine Learning?

There are a variety of limits to the amount of data you can train or predict on.

  1. 50,000 datapoints for training a series
  2. 100 series per forecast
  3. 10 forecasts per instance

If you need to increase any of these limits please contact us or ask your account executive, support engineer, or technical account manager.

My forecasts are not accurate, what should I do?

Start by looking at the model configuration options, and also think about what your data looks like. For example, if you have strong daily seasonality (traffic increasing at a similar time each day) you may want to increase Daily Fourier Order. Similarly, with strong weekly seasonality, for example lower traffic on the weekends, increasing the Weekly Fourier Order may help.

What should I do if my forecast fails?

First, open up the details for your forecast to get a more detailed error message. If the forecast timed out during training try reducing the resolution or training window in the model configuration. Trainings that fail due to system errors, such as receiving a 5XX error from the backing datasource, will automatically be retried.

How do I keep my forecasts up to date?

Forecasts are retrained every day to make sure they remain accurate.

How does billing work?

Grafana Machine Learning is currently free for all paying customers on pro, advanced, or custom plans.

NOTE: If you would like to raise the limits to push the ML even further, there may be an additional charge. Please get in touch.