You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<EditorFieldlabel="Line limit"tooltip="Upper limit for number of log lines returned by query.">
112
+
<AutoSizeInput
113
+
className="width-4"
114
+
placeholder={maxLines.toString()}
115
+
type="number"
116
+
min={0}
117
+
defaultValue={query.maxLines?.toString()??''}
118
+
onCommitChange={onMaxLinesChange}
119
+
/>
120
+
</EditorField>
121
+
)}
122
+
{queryType===QueryType.StatsRange&&(
85
123
<EditorField
86
-
label="Legend"
87
-
tooltip="Series name override or template. Ex. {{hostname}} will be replaced with label value for hostname."
124
+
label="Step"
125
+
tooltip="Use the `step` parameter when making metric queries. If not specified, Grafana will use a calculated interval. Example values: 1s, 5m, 10h, 1d."
126
+
invalid={!isValidStep}
127
+
error={'Invalid step. Example valid values: 1s, 5m, 10h, 1d.'}
<EditorFieldlabel="Line limit"tooltip="Upper limit for number of log lines returned by query.">
112
-
<AutoSizeInput
113
-
className="width-4"
114
-
placeholder={maxLines.toString()}
115
-
type="number"
116
-
min={0}
117
-
defaultValue={query.maxLines?.toString()??''}
118
-
onCommitChange={onMaxLinesChange}
119
-
/>
120
-
</EditorField>
121
-
)}
122
-
{queryType===QueryType.StatsRange&&(
123
-
<EditorField
124
-
label="Step"
125
-
tooltip="Use the `step` parameter when making metric queries. If not specified, Grafana will use a calculated interval. Example values: 1s, 5m, 10h, 1d."
126
-
invalid={!isValidStep}
127
-
error={'Invalid step. Example valid values: 1s, 5m, 10h, 1d.'}
0 commit comments