Skip to content

frontend.cache-split-interval is unnecessary and adds misconfiguration pitfall. #2038

Closed
@owen-d

Description

@owen-d

What

The frontend.cache-split-interval is a ripe target for reducing configuration complexity in cortex. It's currently used to generate cache keys and is downstream of the SplitBy middleware.

I believe it should instead inherit from the SplitBy configuration in order to guarantee they're aligned. Having two configurations that should be equivalent only seems to leave room for configuration error.

Implementation path

Since this is a current configuration, we can mark it deprecated and when not specified defer to the SplitBy parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions