From 628ee0ba6ecb9fe5897d792d8875a45accff1ec9 Mon Sep 17 00:00:00 2001 From: Manuel Fontan Date: Thu, 18 Feb 2021 14:42:13 +0000 Subject: [PATCH] Update Docs > fix typos Signed-off-by: Manuel Fontan --- .../resources/grafonnet/helpers/dashboard_helper.libsonnet | 2 +- .../resources/grafonnet/helpers/grafonnet_helper.libsonnet | 6 +++--- .../resources/grafonnet/helpers/mysql_helper.libsonnet | 2 +- .../resources/grafonnet/helpers/vtgate_helper.libsonnet | 4 ++-- .../resources/grafonnet/helpers/vttablet_helper.libsonnet | 6 +++--- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/vitess-mixin/dashboards/resources/grafonnet/helpers/dashboard_helper.libsonnet b/vitess-mixin/dashboards/resources/grafonnet/helpers/dashboard_helper.libsonnet index 4e0561e6323..d998cc65540 100644 --- a/vitess-mixin/dashboards/resources/grafonnet/helpers/dashboard_helper.libsonnet +++ b/vitess-mixin/dashboards/resources/grafonnet/helpers/dashboard_helper.libsonnet @@ -1,4 +1,4 @@ -/** This is a helper library to load grafonet dashboards using the mixin metadata stored in `config.libshonnet` */ +/** This is a helper library to load grafonnet dashboards using the mixin metadata stored in `config.libshonnet` */ local grafonnet_helper = import 'grafonnet_helper.libsonnet'; diff --git a/vitess-mixin/dashboards/resources/grafonnet/helpers/grafonnet_helper.libsonnet b/vitess-mixin/dashboards/resources/grafonnet/helpers/grafonnet_helper.libsonnet index b453ddda371..2ff41c6a06f 100644 --- a/vitess-mixin/dashboards/resources/grafonnet/helpers/grafonnet_helper.libsonnet +++ b/vitess-mixin/dashboards/resources/grafonnet/helpers/grafonnet_helper.libsonnet @@ -152,7 +152,7 @@ local getTargets(config) = //When the datasource is not prometheus(elastic, graphite) config file //include calls to graphite.target() and elasticsearch.target(). //see webapp_config.lisonnet - //TODO Update this method to decouple grafonet code from the configuration files. + //TODO Update this method to decouple grafonnet code from the configuration files. //Legacy configuration files include prometheus.target() calls. //TODO update legacy config files to use {'expr':'Prom query' ...} format, config.targets @@ -260,8 +260,8 @@ local getRow(c) = // \__ \ | | | | (_| | | __/\__ \ || (_| | |_ // |___/_|_| |_|\__, |_|\___||___/\__\__,_|\__| // |___/ -//The default value should include all the parameters that are overriden by the objects that extend the default. -//Default values match grafonet defaults > https://github.com/grafana/grafonnet-lib/blob/master/grafonnet/singlestat.libsonnet +//The default value should include all the parameters that are overridden by the objects that extend the default. +//Default values match grafonnet defaults > https://github.com/grafana/grafonnet-lib/blob/master/grafonnet/singlestat.libsonnet local default_singlestat = { colors: [ diff --git a/vitess-mixin/dashboards/resources/grafonnet/helpers/mysql_helper.libsonnet b/vitess-mixin/dashboards/resources/grafonnet/helpers/mysql_helper.libsonnet index e9deb177146..3d0b1ff6a44 100644 --- a/vitess-mixin/dashboards/resources/grafonnet/helpers/mysql_helper.libsonnet +++ b/vitess-mixin/dashboards/resources/grafonnet/helpers/mysql_helper.libsonnet @@ -5,7 +5,7 @@ local grafonnet_helper = import './grafonnet_helper.libsonnet'; /** - * Builds grapPanel using grafonet and the configuration from `mysql_config.libsonnet` + * Builds grapPanel using grafonnet and the configuration from `mysql_config.libsonnet` * * @name mysql_helper.getPanel * diff --git a/vitess-mixin/dashboards/resources/grafonnet/helpers/vtgate_helper.libsonnet b/vitess-mixin/dashboards/resources/grafonnet/helpers/vtgate_helper.libsonnet index 2ecae0de8c7..2997979edf4 100644 --- a/vitess-mixin/dashboards/resources/grafonnet/helpers/vtgate_helper.libsonnet +++ b/vitess-mixin/dashboards/resources/grafonnet/helpers/vtgate_helper.libsonnet @@ -6,7 +6,7 @@ local grafonnet_helper = import './grafonnet_helper.libsonnet'; { /** - * Builds grapPanel using grafonet and the configuration from `vtgate_config.libsonnet` + * Builds grapPanel using grafonnet and the configuration from `vtgate_config.libsonnet` * * @name vtgate_helper.getPanel * @@ -18,7 +18,7 @@ local grafonnet_helper = import './grafonnet_helper.libsonnet'; getPanel(config):: grafonnet_helper.getPanel(config), /** - * Builds a singlestat using grafonet and the configuration from `vtgate_config.libsonnet` + * Builds a singlestat using grafonnet and the configuration from `vtgate_config.libsonnet` * * @name vtgate_helper.getSingleStat * diff --git a/vitess-mixin/dashboards/resources/grafonnet/helpers/vttablet_helper.libsonnet b/vitess-mixin/dashboards/resources/grafonnet/helpers/vttablet_helper.libsonnet index 25425888280..2613de0f094 100644 --- a/vitess-mixin/dashboards/resources/grafonnet/helpers/vttablet_helper.libsonnet +++ b/vitess-mixin/dashboards/resources/grafonnet/helpers/vttablet_helper.libsonnet @@ -5,7 +5,7 @@ local grafonnet_helper = import './grafonnet_helper.libsonnet'; { /** - * Builds grapPanel using grafonet and the configuration from `vttablet_config.libsonnet` + * Builds grapPanel using grafonnet and the configuration from `vttablet_config.libsonnet` * * @name vttablet_helper.getPanel * @@ -16,13 +16,13 @@ local grafonnet_helper = import './grafonnet_helper.libsonnet'; */ getPanel(config):: grafonnet_helper.getPanel(config), /** - * Builds grapPanel using grafonet and the configuration from `vttablet_config.libsonnet` + * Builds singlestat using grafonnet and the configuration from `vttablet_config.libsonnet` * * @name vttablet_helper.getPanel * * @param `config`: The singlestat configuration from vttablet_config file. * - * @return A new graphPanel with the configuration specified in `vttablet_config.libsonnet` + * @return A new singlestat with the configuration specified in `vttablet_config.libsonnet` * */ getSingleStat(config):: grafonnet_helper.getSingleStat(config),