-
+
-
+
-
-
diff --git a/public/app/plugins/datasource/mysql/partials/query.editor.html b/public/app/plugins/datasource/mysql/partials/query.editor.html
index 0cb47061a9e..25f33b6a534 100644
--- a/public/app/plugins/datasource/mysql/partials/query.editor.html
+++ b/public/app/plugins/datasource/mysql/partials/query.editor.html
@@ -45,8 +45,10 @@
diff --git a/public/app/plugins/datasource/postgres/partials/query.editor.html b/public/app/plugins/datasource/postgres/partials/query.editor.html
index b5e2b5d87ed..5411427cfe6 100644
--- a/public/app/plugins/datasource/postgres/partials/query.editor.html
+++ b/public/app/plugins/datasource/postgres/partials/query.editor.html
@@ -45,8 +45,10 @@
diff --git a/public/app/plugins/datasource/prometheus/result_transformer.ts b/public/app/plugins/datasource/prometheus/result_transformer.ts
index 3c21e0c3d51..c3fbd7ee1d7 100644
--- a/public/app/plugins/datasource/prometheus/result_transformer.ts
+++ b/public/app/plugins/datasource/prometheus/result_transformer.ts
@@ -100,7 +100,7 @@ export class ResultTransformer {
table.columns.push({ text: 'Time', type: 'time' });
_.each(sortedLabels, (label, labelIndex) => {
metricLabels[label] = labelIndex + 1;
- table.columns.push({ text: label, filterable: !label.startsWith('__') });
+ table.columns.push({ text: label, filterable: true });
});
const valueText = resultCount > 1 || valueWithRefId ? `Value #${refId}` : 'Value';
table.columns.push({ text: valueText });
diff --git a/public/app/plugins/datasource/prometheus/specs/result_transformer.test.ts b/public/app/plugins/datasource/prometheus/specs/result_transformer.test.ts
index d7e42237f8a..3c376334187 100644
--- a/public/app/plugins/datasource/prometheus/specs/result_transformer.test.ts
+++ b/public/app/plugins/datasource/prometheus/specs/result_transformer.test.ts
@@ -66,11 +66,12 @@ describe('Prometheus Result Transformer', () => {
]);
expect(table.columns).toMatchObject([
{ text: 'Time', type: 'time' },
- { text: '__name__' },
- { text: 'instance' },
+ { text: '__name__', filterable: true },
+ { text: 'instance', filterable: true },
{ text: 'job' },
{ text: 'Value' },
]);
+ expect(table.columns[4].filterable).toBeUndefined();
});
it('should column title include refId if response count is more than 2', () => {
diff --git a/public/app/plugins/datasource/stackdriver/components/Aggregations.test.tsx b/public/app/plugins/datasource/stackdriver/components/Aggregations.test.tsx
index 2402cc5da2c..5b14fa73a72 100644
--- a/public/app/plugins/datasource/stackdriver/components/Aggregations.test.tsx
+++ b/public/app/plugins/datasource/stackdriver/components/Aggregations.test.tsx
@@ -49,7 +49,8 @@ describe('Aggregations', () => {
});
it('', () => {
const options = wrapper.state().aggOptions[0].options;
- expect(options.length).toEqual(5);
+
+ expect(options.length).toEqual(10);
expect(options.map(o => o.value)).toEqual(expect.arrayContaining(['REDUCE_NONE']));
});
});
diff --git a/public/app/plugins/datasource/stackdriver/components/Aggregations.tsx b/public/app/plugins/datasource/stackdriver/components/Aggregations.tsx
index c616d55ba7a..9b8dca01151 100644
--- a/public/app/plugins/datasource/stackdriver/components/Aggregations.tsx
+++ b/public/app/plugins/datasource/stackdriver/components/Aggregations.tsx
@@ -73,7 +73,7 @@ export class Aggregations extends React.Component
{
value={crossSeriesReducer}
variables={templateSrv.variables}
options={aggOptions}
- placeholder="Select Aggregation"
+ placeholder="Select Reducer"
className="width-15"
/>
diff --git a/public/app/plugins/datasource/stackdriver/components/Metrics.tsx b/public/app/plugins/datasource/stackdriver/components/Metrics.tsx
index 06094d0c1e9..a09b6108370 100644
--- a/public/app/plugins/datasource/stackdriver/components/Metrics.tsx
+++ b/public/app/plugins/datasource/stackdriver/components/Metrics.tsx
@@ -185,7 +185,7 @@ export class Metrics extends React.Component
{
},
]}
placeholder="Select Metric"
- className="width-15"
+ className="width-26"
/>
diff --git a/public/app/plugins/datasource/stackdriver/components/__snapshots__/Aggregations.test.tsx.snap b/public/app/plugins/datasource/stackdriver/components/__snapshots__/Aggregations.test.tsx.snap
index defd8ef01a4..ed9fe98bbf8 100644
--- a/public/app/plugins/datasource/stackdriver/components/__snapshots__/Aggregations.test.tsx.snap
+++ b/public/app/plugins/datasource/stackdriver/components/__snapshots__/Aggregations.test.tsx.snap
@@ -28,7 +28,7 @@ Array [
- Select Aggregation
+ Select Reducer
- Select Aggregation
+ Select Reducer
{
return { text: String(value), value: value };
diff --git a/public/app/plugins/panel/graph/tab_display.html b/public/app/plugins/panel/graph/tab_display.html
index 976b9bcc940..a6287922cfe 100644
--- a/public/app/plugins/panel/graph/tab_display.html
+++ b/public/app/plugins/panel/graph/tab_display.html
@@ -1,110 +1,194 @@
+
+
+
Draw Modes
+
+
+
+
+
+
-
-
-
Draw Modes
-
-
-
-
-
-
+
+
-
-
+
+
+
+
+
+