Files
Joey c39e9a8f52 Tracing: Trace to profiles (#76670)
* Update Tempo devenv to include profiles

* Update devenv to scrape profiles from local services

* Cleanup devenv

* Fix issue with flame graph

* Add width prop to ProfileTypeCascader

* Add trace to profiles settings

* Add new spanSelector API

* Add spanSelector to query editor

* Update span link query

* Conditionally show span link

* Combine profile and spanProfile query types and run specific query type in backend based on spanSelector presence

* Update placeholder

* Create feature toggle

* Remove spanProfile query type

* Cleanup

* Use feeature toggle

* Update feature toggle

* Update devenv

* Update devenv

* Tests

* Tests

* Profiles for this span

* Styling

* Types

* Update type check

* Tidier funcs

* Add config links from dataframe

* Remove time shift

* Update tests

* Update range in test

* Simplify span link logic

* Update default keys

* Update pyro link

* Use const
2023-11-01 10:14:24 +00:00

3.6 KiB

keywords labels title
grafana
schema
products
cloud
enterprise
oss
GrafanaPyroscopeDataQuery kind

Both documentation generation and kinds schemas are in active development and subject to change without prior notice.

GrafanaPyroscopeDataQuery

Maturity: experimental

Version: 0.0

Property Type Required Default Description
groupBy string[] Yes Allows to group the results.
labelSelector string Yes {} Specifies the query label selectors.
profileTypeId string Yes Specifies the type of profile to query.
refId string Yes A unique identifier for the query within the list of targets.
In server side expressions, the refId is used as a variable name to identify results.
By default, the UI will assign A->Z; however setting meaningful names may be useful.
datasource No For mixed data sources the selected datasource is on the query level.
For non mixed scenarios this is undefined.
TODO find a better way to do this ^ that's friendly to schema
TODO this shouldn't be unknown but DataSourceRef | null
hide boolean No true if query is disabled (ie should not be returned to the dashboard)
Note this does not always imply that the query should not be executed since
the results from a hidden query may be used as the input to other queries (SSE etc)
maxNodes integer No Sets the maximum number of nodes in the flamegraph.
queryType string No Specify the query flavor
TODO make this required and give it a default
spanSelector string[] No Specifies the query span selectors.