From 50fa817ec1cbdd6be6a123d7920322460b7c82d5 Mon Sep 17 00:00:00 2001 From: Nicholas Westerhausen Date: Thu, 11 Oct 2018 16:06:20 -0400 Subject: [PATCH] Fix configuration variables for Graphite component (#6695) * Fix configuration variables Related to #6385. * :pencil2: Tweak --- source/_components/graphite.markdown | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/source/_components/graphite.markdown b/source/_components/graphite.markdown index 4802e4a7586..c4b8a78e2b1 100644 --- a/source/_components/graphite.markdown +++ b/source/_components/graphite.markdown @@ -21,9 +21,21 @@ To enable this component, add the following lines to your `configuration.yaml`: graphite: ``` -Configuration variables: - -- **host** (*Option*): IP address of your graphite host, eg. http://192.168.1.10. Defaults to `localhost` -- **port** (*Optional*): Port to use. Defaults to 2003. -- **prefix** (*Optional*): Prefix is the metric prefix in graphite. Defaults to `ha`. +{% configuration %} +host: + description: IP address of your graphite host, e.g., http://192.168.1.10. + required: false + type: string + default: localhost +port: + description: This is a description of what this key is for. + required: false + type: integer + default: 2003 +prefix: + description: Prefix is the metric prefix in graphite. + required: false + type: string + default: ha +{% endconfiguration %}