mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
As we are not constrained by time that much in the outlet, we can simplify the fetching of metadata by doing it synchronously. We still keep the breaker design to avoid continously polling a source that is not responsive, so we still can loose some data if we are not able to poll metadata. We also keep the background cache refresh. We also introduce a grace time of 1 minute to avoid loosing data during start. For the static provider, we wait for the remote data sources to be ready. For the gNMI provider, there are target windows of availability during which the cached data can be polled. The SNMP provider is loosing its ability to coalesce requests.
21 lines
420 B
YAML
21 lines
420 B
YAML
---
|
|
paths:
|
|
outlet.0.metadata:
|
|
cacheduration: 30m0s
|
|
cacherefresh: 30m0s
|
|
cachecheckinterval: 2m0s
|
|
cachepersistfile: ""
|
|
initialdelay: 1m0s
|
|
querytimeout: 5s
|
|
providers:
|
|
- type: snmp
|
|
pollerretries: 3
|
|
pollertimeout: 1s
|
|
agents:
|
|
192.0.2.10: 192.0.2.11
|
|
credentials:
|
|
::/0:
|
|
communities: [private]
|
|
ports:
|
|
::/0: 161
|