From 16f5d60d170252548272a2bb8b9106614b6a421a Mon Sep 17 00:00:00 2001 From: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> Date: Mon, 25 Jan 2021 12:39:37 -0800 Subject: [PATCH] Docs: Add new override info and add whats new 7.4 links (#30615) * Update whats-new-in-v7-4.md * Update add-query-editor-help.md * Update whats-new-in-v7-4.md * Update docs/sources/whatsnew/whats-new-in-v7-4.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> * Update whats-new-in-v7-4.md * added configure fields content Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> --- .../panels/field-options/configure-specific-fields.md | 7 ++++--- docs/sources/whatsnew/whats-new-in-v7-4.md | 8 ++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/docs/sources/panels/field-options/configure-specific-fields.md b/docs/sources/panels/field-options/configure-specific-fields.md index 59ce0802afe..428968b0ca4 100644 --- a/docs/sources/panels/field-options/configure-specific-fields.md +++ b/docs/sources/panels/field-options/configure-specific-fields.md @@ -20,9 +20,10 @@ You can override as many field options as you want to. 1. Click the **Overrides** tab. 1. Click **Add an override for**. 1. Select which fields an override rule will be applied to: - - **Fields with name -** Allows you to select a field from the list of all available fields. Properties you add to a rule with this selector are only applied to this single field. - - **Fields with name matching regex -** Allows you to specify fields to override with a regular expression. Properties you add to a rule with this selector are applied to all fields where the field name match the regex. - - **Fields with type -** Allows you to select fields by type, such as string, numeric, and so on. Properties you add to a rule with this selector are applied to all fields that match the selected type. + - **Fields with name -** Select a field from the list of all available fields. Properties you add to a rule with this selector are only applied to this single field. + - **Fields with name matching regex -** Specify fields to override with a regular expression. Properties you add to a rule with this selector are applied to all fields where the field name match the regex. + - **Fields with type -** Select fields by type, such as string, numeric, and so on. Properties you add to a rule with this selector are applied to all fields that match the selected type. + - **Fields returned by query -** Select all fields returned by a specific query, such as A, B, or C. Properties you add to a rule with this selector are applied to all fields returned by the selected query. 1. Click **Add override property**. 1. Select the field option that you want to apply. - [Standard field options]({{< relref "standard-field-options.md" >}}), which apply to all panel visualizations that allow transformations. diff --git a/docs/sources/whatsnew/whats-new-in-v7-4.md b/docs/sources/whatsnew/whats-new-in-v7-4.md index 65797e6e915..086634211d8 100644 --- a/docs/sources/whatsnew/whats-new-in-v7-4.md +++ b/docs/sources/whatsnew/whats-new-in-v7-4.md @@ -56,6 +56,12 @@ This transformation is very useful if your data source does not natively filter For more information, refer to [Filter data by value]({{< relref "../panels/transformations/types-options.md#filter-data-by-value" >}}) in [Transformation types and options]({{< relref "../panels/transformations/types-options.md" >}}). +### New override option + +On the Overrides tab, you can now set properties for fields returned by a specific query. + +For more information, refer to [Add a field override]({{< relref "../panels/field-options/configure-specific-fields.md#add-a-field-override" >}}). + ### Exemplar support Grafana graphs now support Prometheus [exemplars]({{< relref "../datasources/prometheus.md#exemplars" >}}). They are displayed as diamonds in the graph visualization. @@ -97,6 +103,8 @@ CSP support is disabled by default, to enable it you must set `content_security_ You can lock down what can be done in the frontend code. Lock down what can be loaded, what JavaScript is executed. Not compatible with some plugins. +[content_security_policy]({{< relref "../administration/configuration.md#content_security_policy" >}}) and [content_security_policy_template]({{< relref "../administration/configuration.md#content_security_policy_template" >}}) were added to [Configuration]({{< relref "../administration/configuration.md" >}}) as a result of this change. + ### Elasticsearch data source updates Grafana 7.4 includes the following enhancements