Phlare: Use data query schema (#62112)

* Create cue file and gen ts/go types

* Use generated schema in ts/go

* Run make den-cue to update report

* Manually extend Phlare query

* Updates

* Add default queryType

* Run make gen-cue to Update report.json
This commit is contained in:
Joey Tawadrous
2023-02-01 09:29:25 +00:00
committed by GitHub
parent 30b4205521
commit f3c5e85559
8 changed files with 192 additions and 34 deletions

View File

@ -0,0 +1,22 @@
---
keywords:
- grafana
- schema
title: PhlareDataQuery kind
---
> Both documentation generation and kinds schemas are in active development and subject to change without prior notice.
# PhlareDataQuery kind
## Maturity: experimental
## Version: 0.0
## Properties
| Property | Type | Required | Description |
|-----------------|----------|----------|-----------------------------------------------------|
| `groupBy` | string[] | No | Allows to group the results. |
| `labelSelector` | string | No | Specifies the query label selectors. Default: `{}`. |
| `profileTypeId` | string | No | Specifies the type of profile to query. |