From 5d1f251e7ba5b013dcc0d4c96b510024d3a6da92 Mon Sep 17 00:00:00 2001 From: Andrzej Stencel Date: Tue, 4 Jul 2023 19:29:19 +0200 Subject: [PATCH] [chore] [receiver/snmp] fix docs on default collection interval (#23945) The default connection interval is actually `10s` and not `1m`. --- receiver/snmpreceiver/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/receiver/snmpreceiver/README.md b/receiver/snmpreceiver/README.md index e13bd4a3e59b..82dfdb6ea3f7 100644 --- a/receiver/snmpreceiver/README.md +++ b/receiver/snmpreceiver/README.md @@ -35,7 +35,7 @@ This receiver supports SNMP versions: ### Connection Configuration These configuration options are for connecting to a SNMP host. -- `collection_interval`: (default = `1m`): This receiver collects metrics on an interval. This value must be a string readable by Golang's [time.ParseDuration](https://pkg.go.dev/time#ParseDuration). Valid time units are `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. +- `collection_interval`: (default = `10s`): This receiver collects metrics on an interval. This value must be a string readable by Golang's [time.ParseDuration](https://pkg.go.dev/time#ParseDuration). Valid time units are `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. - `endpoint` (default: `udp://localhost:161`): SNMP endpoint to connect to in the form of `[udp|tcp][://]{host}[:{port}]` - If no scheme is supplied, a default of `udp` is assumed - If no port is supplied, a default of `161` is assumed