Skip to content

AWS S3 exporter s3_partition_format uses local timezone instead of UTC #42319

@mymmrac

Description

@mymmrac

Component(s)

exporter/awss3

What happened?

Description

AWS S3 exporter s3_partition_format uses local timezone instead of UTC and there is no way to change timezone used for partitioning which might be unexpected since there might be multiple collectors writing into same bucket with different timezones

Collector version

v0.133.0

Environment information

Environment

Any

OpenTelemetry Collector configuration

exporters:
  awss3:
    s3uploader:
      region: "us-east-1"
      s3_bucket: "tmp"
      s3_prefix: "logs"
      s3_partition_format: "%Y/%m/%d/%H/%M" # <- this time will be local instead of UTC

Log output

Additional context

No response

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions