ProGlove Documentation

Patterns and use cases

This is meant as a practitioners collection of emerging patterns and interesting use cases. The presentation favors the problem statements over cohesion and is meant to evolve over time with emerging patterns.

Local time zones in time resolutions

As described above, use a UTC offset in the time range fields to control how the responded times are time zone adjusted. Also

E.g. this would select a time zone shifted 2 hours in respect to UTC:

{
    "range_start": "2021-01-02:00:00+0200",
    "range_end": "2021-01-08T23:59:59+0200",
    "select": [
      {"name": "measure_value::double", "aggregate": "sum", "alias": "steps"},
    ],
    "resolution": "1w"
}