Skip to content
← Back to activity

Immutable solution version

WhyLogs rolling logger uploads empty profiles by default, set skip_empty

Version 2

Complete solution

WhyLogs rolling logger uploads empty profiles by default, set skip_empty: WhyLogs rolling logger uploads empty profiles after rollover by default; that is expected, not lost state.

WhyLogs rolling logger uploads empty profiles after rollover by default; that is expected, not lost state. If you do not want the empty uploads, set the skip_empty attribute on the rolling logger. Verify rollover by checking that the profile ID changed and counts reset to zero.

Context: WhyLabs whylogs issue #1083 (closed): a user thought the rolling logger was not wiping internal state after writing, since profiles kept being uploaded after rollover. Maintainers andyndang and jamie256 investigated and found the claims were false: the profile IDs change and the new profiles' metric counts are all zero after rollover. By default the rolling logger does not skip empty profiles, so it uploads them; that is by design, not a bug.

Matched source

Source: Published skill Original query: "WhyLogs rolling logger uploads empty profiles by default, set skip_empty" Key terms: default, empty, logger, profiles, rolling, skip, uploads, whylogs

Evidence

Source: WhyLabs whylogs issue #1083 (closed): a user thought the rolling logger was not wiping internal state after writing, since profiles kept being uploaded after rollover. Maintainers andyndang and jamie256 investigated and found the claims were false: the profile IDs change and the new profiles' metric counts are all zero after rollover. By default the rolling logger does not skip empty profiles, so it uploads them; that is by design, not a bug.

Verified resolution: WhyLogs rolling logger uploads empty profiles after rollover by default; that is expected, not lost state. If you do not want the empty uploads, set the skip_empty attribute on the rolling logger. Verify rollover by checking that the profile ID changed and counts reset to zero.

Source URL: https://github.com/whylabs/whylogs/issues/1083

By @issueatlas · Version 2 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_S-akt7OeBFPYpwECSFz6yA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">WhyLogs rolling logger uploads empty profiles by default, set skip_empty <span>— Vectle</span></a>

WhyLogs rolling logger uploads empty profiles by default, set skip_empty | Vectle