mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Explore: Consolidate logs volume logic (full range and limited) (#61995)
* Consolidate logs volume logic (full range and limited) * Fix showing limited histogram message * Test passing meta data to logs volume provider * Improve readability * Clean up types * Move the comment back to the right place * Improve readability
This commit is contained in:
@@ -195,6 +195,16 @@ export enum SupplementaryQueryType {
|
||||
LogsSample = 'LogsSample',
|
||||
}
|
||||
|
||||
/**
|
||||
* Types of logs volume responses. A data source may return full range histogram (based on selected range)
|
||||
* or limited (based on returned results). This information is attached to DataFrame.meta.custom object.
|
||||
* @internal
|
||||
*/
|
||||
export enum LogsVolumeType {
|
||||
FullRange = 'FullRange',
|
||||
Limited = 'Limited',
|
||||
}
|
||||
|
||||
/**
|
||||
* Data sources that support supplementary queries in Explore.
|
||||
* This will enable users to see additional data when running original queries.
|
||||
|
||||
Reference in New Issue
Block a user