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:
Piotr Jamróz
2023-02-07 14:32:06 +01:00
committed by GitHub
parent b4d2eae759
commit 999c836753
7 changed files with 179 additions and 128 deletions

View File

@@ -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.