Skip to content

Commit ed3f253

Browse files
committed
Updated README
1 parent 8581e26 commit ed3f253

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

exporter/awss3exporter/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ The following exporter configuration parameters are supported.
2626
| `s3_bucket` | S3 bucket | |
2727
| `s3_prefix` | prefix for the S3 key (root directory inside bucket). | |
2828
| `s3_partition_format` | filepath formatting for the partition; See [strftime](https://www.man7.org/linux/man-pages/man3/strftime.3.html) for format specification. | "year=%Y/month=%m/day=%d/hour=%H/minute=%M" |
29+
| `s3_partition_timezone` | timezone used to format partition | Local |
2930
| `role_arn` | the Role ARN to be assumed | |
3031
| `file_prefix` | file prefix defined by user | |
3132
| `marshaler` | marshaler used to produce output data | `otlp_json` |
@@ -43,7 +44,7 @@ The following exporter configuration parameters are supported.
4344
| `retry_mode` | The retryer implementation, the supported values are "standard", "adaptive" and "nop". "nop" will set the retryer as `aws.NopRetryer`, which effectively disable the retry. | standard |
4445
| `retry_max_attempts` | The max number of attempts for retrying a request if the `retry_mode` is set. Setting max attempts to 0 will allow the SDK to retry all retryable errors until the request succeeds, or a non-retryable error is returned. | 3 |
4546
| `retry_max_backoff` | the max backoff delay that can occur before retrying a request if `retry_mode` is set | 20s |
46-
| `unique_key_func_name` | Name of the function to use for generating a unique portion of the key name, defaults to a random integer. Only supported value is `uuidv7`. | |
47+
| `unique_key_func_name` | Name of the function to use for generating a unique portion of the key name, defaults to a random integer. Only supported value is `uuidv7`. | |
4748

4849
### Marshaler
4950

@@ -141,6 +142,9 @@ In this case, logs and traces would be stored in the following path format.
141142
metric/YYYY/MM/DD/HH/mm
142143
```
143144

145+
Optionally along with `s3_partition_format` you can provide `s3_partition_timezone` as name from IANA Time Zone
146+
database to change default local timezone to custom, for example `UTC` or `Europe/London`.
147+
144148
## Data routing based on resource attributes
145149
When `resource_attrs_to_s3/s3_bucket` or `resource_attrs_to_s3/s3_prefix` is configured, the S3 bucket and/or prefix are dynamically derived from specified resource attributes in your data.
146150
If the attribute values are unavailable, the bucket and prefix will fall back to the values defined in `s3uploader/s3_bucket` and `s3uploader/s3_prefix` respectively.

0 commit comments

Comments
 (0)