Skip to content

Usage ping SQL dump rake task

Following steps would make sense

  • Instead of values for redis data, return nil or the definition of the redis data if available

  • For alt_usage_data keep the values because they may be useful

  • Sum queries as SQL

  • @alinamihaila started a discussion:

    suggestion (non-blocking):

    I'm thinking to have alt_usage_data and redis_data methods here too, returning "" empty strings.

    When generating the file with queries rest of data is the real data? or we plan to run this in our computers?

    Thinking that not having real data would make this generated file easier to share.

    @a_akgun WDYT?

Future Ideas

  • Form prometheus calls, what to do?
  • Add a script to dump the values for any gitlab release branch
  • Add arguments to the rake test to decide the time interval?
Edited by Alper Akgun