only 255 entries in a csv file · Issue #12 · go-pluto/styx · GitHub
Skip to content

only 255 entries in a csv file #12

Open

Description

@Knuspel

In my tests of styx I have only been able to get 255 csv entries into a single file.
Is that a limitation of me as a user or a limitation of the tool?

Activity

  1. metalmatze commented on Jan 8, 2021

    @metalmatze
    Contributor

    I don't think it's an intentional limitation. So definitely feel free to propose changes that would improve this!

  2. Knuspel commented on Jan 28, 2021

    @Knuspel
    ContributorAuthor

    The limit of entries in this issue is due to the resolution of data in the "steps" functionality.
    I'd propose to add a parameter in the CLI that allows the user to set the steps in seconds.

    In prometheus.go once the selected timeframe goes over 30 Minutes the stepping is calculated by dividing the queried amount of minutes by 4.2. This leads to roughly the same amount of entries once you exceed a 30 minute threshold. This is also why in my tests it happened to be always around 255 entries since I've always chosen timespans larger than 30 minutes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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