Skip to content

Report schedule local time support #1258

Open
@suridaddy

Description

@suridaddy

Environment:

  • OpenShift v4.2

Description

Metering report is leveraged by us to generate daily, weekly and monthly report, and we found that the report always generated at UTC 0:0:0 time.

It's expected to generate the report at local time(Asia/Shanghai, UTC+8) 0:0:0. For the daily and weekly report, we can leverage the 'hour' setting(set hour: 16 of the day, or last day of week).
For the monthly report, it's hard to know what's the last day of the month, so, the workaround doesn't work.

My question:

is it possible to make the report generated using local time 0:0:0? do we have a way to set the timezone info to the reporting-operator pod/container, or set timezone info to the report definition?

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