Skip to content

Commit

Permalink
[chore] [receiver/snmp] fix docs on default collection interval (#23945)
Browse files Browse the repository at this point in the history
The default connection interval is actually `10s` and not `1m`.
  • Loading branch information
andrzej-stencel authored Jul 4, 2023
1 parent 3cb4954 commit 5d1f251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion receiver/snmpreceiver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d1f251

Please sign in to comment.