You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exporter/awss3exporter/README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ The following exporter configuration parameters are supported.
26
26
|`s3_bucket`| S3 bucket ||
27
27
|`s3_prefix`| prefix for the S3 key (root directory inside bucket). ||
28
28
|`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 |
29
30
|`role_arn`| the Role ARN to be assumed ||
30
31
|`file_prefix`| file prefix defined by user ||
31
32
|`marshaler`| marshaler used to produce output data |`otlp_json`|
@@ -43,7 +44,7 @@ The following exporter configuration parameters are supported.
43
44
|`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 |
44
45
|`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 |
45
46
|`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`. ||
47
48
48
49
### Marshaler
49
50
@@ -141,6 +142,9 @@ In this case, logs and traces would be stored in the following path format.
141
142
metric/YYYY/MM/DD/HH/mm
142
143
```
143
144
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
+
144
148
## Data routing based on resource attributes
145
149
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.
146
150
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