How to add a trend line to time series chart

Welcome to the Grafana community! Your question is a bit vague and can probably be answered better with more details.

  1. Is your data source added to Grafana?
    • Yes? Go to 2.
    • No? Visit {YOUR_GRAFANA_URL}/datasources/new and click on Prometheus to configure your data source. Save and test your configuration.
  2. Create a new dashboard in Grafana. Add a time series panel to it. Select your Prometheus data source in Data Source.
  3. Your data in Prometheus can be queried using the PromQL language. Here’s my favorite resource on PromQL.

Let me know if this helps guide you in the right direction. Good luck!