mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 00:52:16 +08:00

* Elasticsearch: Implement schema for query * Comment out types I am not sure how to do * Manually fix typing for PipelineMetricAggregationWithMultipleBucketPaths and BasePipelineMetricAggregation * Import types to types.ts to have single source of truth * Cleanup, reorder * Remove unnecesary Schema. * Fix test * Refactor
35 lines
1.1 KiB
Markdown
35 lines
1.1 KiB
Markdown
---
|
|
keywords:
|
|
- grafana
|
|
- schema
|
|
title: ElasticsearchDataQuery kind
|
|
---
|
|
> Both documentation generation and kinds schemas are in active development and subject to change without prior notice.
|
|
|
|
# ElasticsearchDataQuery kind
|
|
|
|
## Maturity: merged
|
|
## Version: 0.0
|
|
|
|
## Properties
|
|
|
|
| Property | Type | Required | Description |
|
|
|--------------|-------------------------------------------|----------|-------------|
|
|
| `alias` | string | No | |
|
|
| `bucketAggs` | [BucketAggregation](#bucketaggregation)[] | No | |
|
|
| `metrics` | [MetricAggregation](#metricaggregation)[] | No | |
|
|
| `query` | string | No | |
|
|
| `timeField` | string | No | |
|
|
|
|
## BucketAggregation
|
|
|
|
| Property | Type | Required | Description |
|
|
|----------|------|----------|-------------|
|
|
|
|
## MetricAggregation
|
|
|
|
| Property | Type | Required | Description |
|
|
|----------|------|----------|-------------|
|
|
|
|
|