From 4ceea0a8fe2a93b4110b94761bd068db686b6f8c Mon Sep 17 00:00:00 2001 From: Olivier Ouellet <85790609+olivierouellet@users.noreply.github.com> Date: Tue, 28 Mar 2023 07:10:30 -0400 Subject: [PATCH] Add character_encoding doc to REST and Scrape (#26730) Co-authored-by: G Johansson Co-authored-by: Franck Nijhof --- source/_integrations/rest.markdown | 5 +++++ source/_integrations/scrape.markdown | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/source/_integrations/rest.markdown b/source/_integrations/rest.markdown index d2002050fc3..c776fc8fc7f 100644 --- a/source/_integrations/rest.markdown +++ b/source/_integrations/rest.markdown @@ -162,6 +162,11 @@ scan_interval: required: false type: integer default: 30 +encoding: + description: The character encoding to use if none provided in the header of the shared data. + required: false + type: string + default: UTF-8 sensor: description: A list of sensors to create from the shared data. All configuration settings that are supported by [RESTful Sensor](/integrations/sensor.rest#configuration-variables) not listed above can be used here. required: false diff --git a/source/_integrations/scrape.markdown b/source/_integrations/scrape.markdown index 53834dd6ce7..e9569d0d073 100644 --- a/source/_integrations/scrape.markdown +++ b/source/_integrations/scrape.markdown @@ -92,6 +92,11 @@ scan_interval: required: false type: integer default: 600 +encoding: + description: The character encoding to use if none provided in the header of the shared data. + required: false + type: string + default: UTF-8 sensor: description: A list of sensors to create from the shared data. All configuration settings that are supported by [RESTful Sensor](/integrations/sensor.rest#configuration-variables) not listed above can be used here. required: true