From 7d04eb9baf3133ac7148223312acbf95fda7610d Mon Sep 17 00:00:00 2001 From: daipom Date: Mon, 21 Feb 2022 11:31:16 +0900 Subject: [PATCH] Fix test and document about `scrape_interval` Corresponding to c71bba9178107c877dfaa46953e063361ec87409. Signed-off-by: daipom --- README.md | 4 ++-- test/plugin/test_in_sigdump.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 75465d6..e94727c 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ So this plugin cannot work with `filter` plugins or `output` plugins. | Option | Description | Default | |-------------------|-------------------------------------------|-----------| | `tag` | Tag of the output events | `sigdump` | -| `scrape_interval` | The interval time between data collection | `60` | +| `scrape_interval` | The interval time between data collection | `900` | | `dir_path` | The output directory path | `/tmp` | ### Example Configuration @@ -35,7 +35,7 @@ So this plugin cannot work with `filter` plugins or `output` plugins. @type sigdump tag sigdump # optional - scrape_interval 60 # optional + scrape_interval 900 # optional dir_path "/dump" # optional ``` diff --git a/test/plugin/test_in_sigdump.rb b/test/plugin/test_in_sigdump.rb index 9403c5e..f0c894a 100644 --- a/test/plugin/test_in_sigdump.rb +++ b/test/plugin/test_in_sigdump.rb @@ -17,7 +17,7 @@ def test_configure_default_values ]) assert_equal("sigdump", d.instance.tag) assert_equal(RESULT_DIR, d.instance.dir_path) - assert_equal(60, d.instance.scrape_interval) + assert_equal(900, d.instance.scrape_interval) end def test_configure_customize