Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ifname processor: expire old cached entries #7838

Merged
merged 3 commits into from
Jul 16, 2020
Merged

ifname processor: expire old cached entries #7838

merged 3 commits into from
Jul 16, 2020

Conversation

reimda
Copy link
Contributor

@reimda reimda commented Jul 14, 2020

Also refetch interfaces when interface number is missing

@reimda reimda requested review from danielnelson and ssoroka and removed request for danielnelson July 14, 2020 22:51
CacheSize uint `toml:"max_cache_entries"`
MaxParallelLookups int `toml:"max_parallel_lookups"`
Ordered bool `toml:"ordered"`
CacheTtl config.Duration `toml:"cache_ttl"`
Copy link
Contributor

@ssoroka ssoroka Jul 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be CacheTTL; some linters will complain about it.

@danielnelson danielnelson added this to the 1.15.0 milestone Jul 15, 2020
@reimda reimda merged commit 9b58590 into master Jul 16, 2020
@reimda reimda deleted the ifname-expire branch July 16, 2020 15:12
danielnelson pushed a commit that referenced this pull request Jul 16, 2020
idohalevi pushed a commit to idohalevi/telegraf that referenced this pull request Sep 29, 2020
@Hipska Hipska added area/ifname plugin/processor feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin area/snmp labels Feb 4, 2021
arstercz pushed a commit to arstercz/telegraf that referenced this pull request Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/snmp feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/processor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants