Skip to content

Commit 7d04eb9

Browse files
committed
Fix test and document about scrape_interval
Corresponding to c71bba9. Signed-off-by: daipom <fukuda@clear-code.com>
1 parent c71bba9 commit 7d04eb9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ So this plugin cannot work with `filter` plugins or `output` plugins.
2626
| Option | Description | Default |
2727
|-------------------|-------------------------------------------|-----------|
2828
| `tag` | Tag of the output events | `sigdump` |
29-
| `scrape_interval` | The interval time between data collection | `60` |
29+
| `scrape_interval` | The interval time between data collection | `900` |
3030
| `dir_path` | The output directory path | `/tmp` |
3131

3232
### Example Configuration
@@ -35,7 +35,7 @@ So this plugin cannot work with `filter` plugins or `output` plugins.
3535
<source>
3636
@type sigdump
3737
tag sigdump # optional
38-
scrape_interval 60 # optional
38+
scrape_interval 900 # optional
3939
dir_path "/dump" # optional
4040
</source>
4141
```

test/plugin/test_in_sigdump.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def test_configure_default_values
1717
])
1818
assert_equal("sigdump", d.instance.tag)
1919
assert_equal(RESULT_DIR, d.instance.dir_path)
20-
assert_equal(60, d.instance.scrape_interval)
20+
assert_equal(900, d.instance.scrape_interval)
2121
end
2222

2323
def test_configure_customize

0 commit comments

Comments
 (0)