[GH-ISSUE #751] Periphery stats polling rate using same variable twice for 2 different stats sources #6291

Closed
opened 2026-04-24 19:27:11 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @djismgaming on GitHub (Aug 21, 2025).
Original GitHub issue: https://github.com/moghtech/komodo/issues/751

Hi!

While configuring a periphery container, I noticed the config states to use the same environment variable for host stats polling and for container stats polling. These should be different. Maybe PERIPHERY_CONTAINER_STATS_POLLING_RATE?

I've highlighted the lines below:

# periphery.config.toml

## How often Periphery polls the host for system stats, like CPU / memory usage.
## To effectively disable polling, set this to something like 1-hr.
+ ## Env: PERIPHERY_STATS_POLLING_RATE
## Options: https://docs.rs/komodo_client/latest/komodo_client/entities/enum.Timelength.html
## Default: 5-sec
stats_polling_rate = "5-sec"

## How often Periphery polls the host for container stats,
+ ## Env: PERIPHERY_STATS_POLLING_RATE
## Options: https://docs.rs/komodo_client/latest/komodo_client/entities/enum.Timelength.html
## Default: 5-sec
container_stats_polling_rate = "1-min"
Originally created by @djismgaming on GitHub (Aug 21, 2025). Original GitHub issue: https://github.com/moghtech/komodo/issues/751 Hi! While configuring a periphery container, I noticed the config states to use the same environment variable for host stats polling and for container stats polling. These should be different. Maybe PERIPHERY_CONTAINER_STATS_POLLING_RATE? I've highlighted the lines below: ```diff # periphery.config.toml ## How often Periphery polls the host for system stats, like CPU / memory usage. ## To effectively disable polling, set this to something like 1-hr. + ## Env: PERIPHERY_STATS_POLLING_RATE ## Options: https://docs.rs/komodo_client/latest/komodo_client/entities/enum.Timelength.html ## Default: 5-sec stats_polling_rate = "5-sec" ## How often Periphery polls the host for container stats, + ## Env: PERIPHERY_STATS_POLLING_RATE ## Options: https://docs.rs/komodo_client/latest/komodo_client/entities/enum.Timelength.html ## Default: 5-sec container_stats_polling_rate = "1-min" ```
Author
Owner

@MP-Tool commented on GitHub (Aug 21, 2025):

Thank you for the issue, I've fixed the documentation. You can simply use PERIPHERY_CONTAINER_STATS_POLLING_RATE. resolved when merged.

<!-- gh-comment-id:3208654012 --> @MP-Tool commented on GitHub (Aug 21, 2025): Thank you for the issue, I've fixed the documentation. You can simply use `PERIPHERY_CONTAINER_STATS_POLLING_RATE`. resolved when merged.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#6291