Skip to content

Calendar-based periods #1493

@metalmatze

Description

@metalmatze

Hijacking the thread since I work with Keith on Pyrra :)

@metalmatze Hi! I wanted to get your thoughts about our use case (Wikimedia), and how/if Pyrra could support it. We have 3 months SLO windows corresponding to quarters, and we are oriented not to use rolling windows but fixed ones (so we pick the start and end day of each quarter, and we analyze the error budget etc..). We are currently hosting https://slo.wikimedia.org/, that everybody loves for its speed and clarity, but of course we cannot use it (since it is based on rolling windows) and we use the Pyrra Grafana dashboard template. Do you think that there is a way to add custom time windows for the time picker? I am thinking something simple that can be set in the Pyrra's config, and that gets displayed alongside of the current ones. For example, we could set in the config all the quarters' time windows and select them when visiting the Pyrra UI for a given SLO (the custom windows could have labels like "Q1" "Q2" etc.. for clarity). If it is something that you'd allow to be present, we'll contribute with a patch! I don't have anything ready but it doesn't seem impossible, lemme know your thoughts. Thanks a lot!

Originally posted by @elukey in #952

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