Datasource/Loki: Add tooltip explaining resolution for loki query (#66283)
* Add tooltip explaining resolution for loki query * Update tooltip text with more detail Co-authored-by: Matias Chomicki <matyax@gmail.com> * Fix lint error --------- Co-authored-by: Matias Chomicki <matyax@gmail.com>
This commit is contained in:
co-authored by
Matias Chomicki
parent
facd4eca7e
commit
2ecd63764e
+4
-1
@@ -101,7 +101,10 @@ export const LokiQueryBuilderOptions = React.memo<Props>(
|
|||||||
/>
|
/>
|
||||||
</EditorField>
|
</EditorField>
|
||||||
)}
|
)}
|
||||||
<EditorField label="Resolution">
|
<EditorField
|
||||||
|
label="Resolution"
|
||||||
|
tooltip="Sets the step parameter of Loki metrics range queries. With a resolution of 1/1, each pixel corresponds to one data point. 1/10 retrieves one data point per 10 pixels. Lower resolutions perform better."
|
||||||
|
>
|
||||||
<Select
|
<Select
|
||||||
isSearchable={false}
|
isSearchable={false}
|
||||||
onChange={onResolutionChange}
|
onChange={onResolutionChange}
|
||||||
|
|||||||
Reference in New Issue
Block a user