Pyroscope: Remove support for old pyroscope (#74683)

This commit is contained in:
Andrej Ocenas
2023-09-19 10:09:28 +02:00
committed by GitHub
parent 8b4d167de5
commit f7aab06e23
17 changed files with 78 additions and 601 deletions
@@ -21,7 +21,7 @@ weight: 1150
# Grafana Pyroscope data source
Formerly Phlare data source, it supports both Phlare and Pyroscope, a horizontally scalable, highly-available, multi-tenant, OSS, continuous profiling aggregation systems. Add it as a data source, and you are ready to query your profiles in [Explore][explore].
Formerly Phlare data source, now Grafana Pyroscope, a horizontally scalable, highly-available, multi-tenant, OSS, continuous profiling aggregation system. Add it as a data source, and you are ready to query your profiles in [Explore][explore].
## Configure the Grafana Pyroscope data source
@@ -45,7 +45,6 @@ To configure basic settings for the data source, complete the following steps:
| `User` | User name for basic authentication. |
| `Password` | Password for basic authentication. |
| `Minimal step` | Used for queries returning timeseries data. Phlare backend, similar to Prometheus, scrapes profiles at certain intervals. To prevent querying at smaller interval use Minimal step same or higher than your Phlare scrape interval. For Pyroscope backend this prevents returning too many data points to the front end. |
| `Backend type` | Select a backend type between Phlare and Pyroscope. It is autodetected if not set but once set you have to change it manually. |
## Querying
@@ -55,13 +54,13 @@ To configure basic settings for the data source, complete the following steps:
Query editor gives you access to a profile type selector, a label selector, and collapsible options.
![Profile or App selector](/static/img/docs/phlare/select-profile.png 'Profile or App selector')
![Profile selector](/static/img/docs/phlare/select-profile.png 'Profile selector')
Select a profile type or app from the drop-down menu. While the label selector can be left empty to query all profiles without filtering by labels, the profile type or app must be selected for the query to be valid. Grafana does not show any data if the profile type or app isn’t selected when a query is run.
Select a profile type from the drop-down menu. While the label selector can be left empty to query all profiles without filtering by labels, the profile type or app must be selected for the query to be valid. Grafana does not show any data if the profile type or app isn’t selected when a query is run.
![Labels selector](/static/img/docs/phlare/labels-selector.png 'Labels selector')
Use the labels selector input to filter by labels. Phlare and Pyroscope uses similar syntax to Prometheus to filter labels. Refer to [Phlare documentation](https://grafana.com/docs/phlare/latest/) for available operators and syntax.
Use the labels selector input to filter by labels. Pyroscope uses similar syntax to Prometheus to filter labels. Refer to [Pyroscope documentation](https://grafana.com/docs/pyroscope/latest/) for available operators and syntax.
![Options section](/static/img/docs/phlare/options-section.png 'Options section')
@@ -77,7 +76,7 @@ Profiles can be visualized in a flame graph. See the [Flame Graph documentation]
![Flame graph](/static/img/docs/phlare/flame-graph.png 'Flame graph')
Phlare and Pyroscope returns profiles aggregated over a selected time range, and the absolute values in the flame graph grow as the time range gets bigger while keeping the relative values meaningful. You can zoom in on the time range to get a higher granularity profile up to the point of a single scrape interval.
Pyroscope returns profiles aggregated over a selected time range, and the absolute values in the flame graph grow as the time range gets bigger while keeping the relative values meaningful. You can zoom in on the time range to get a higher granularity profile up to the point of a single scrape interval.
### Metrics query results
@@ -98,11 +97,10 @@ apiVersion: 1
datasources:
- name: Grafana Pyroscope
type: phlare
url: http://localhost:4100
type: grafana-pyroscope-datasource
url: http://localhost:4040
jsonData:
minStep: '15s'
backendType: 'pyroscope'
```
{{% docs/reference %}}