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
DSET-3998 feat: export Logs resource info based on export_resource_info_on_event configuration (open-telemetry#23250)
* DSET-3998 - export Logs resource info based on export_resource_info_on_event configuration
* DSET-3998 - simplify
* DSET-3998 - improve docs
* Fix log exporter to set AddEvents Event timestamp (ts) field to event
observed timetamp in case LogRecord doesn't contain timestamp.
Even though ObservedTimestamp should always be present, we fall back to
current time in case it's not.
In addition to that, remove duplicate and redundant "timestamp"
attribute from the AddEvents event.
* Add additional assertions.
* Remove dummy debug logs.
* Create export-logs-resource-info-based-configuration
* address PR notes - fix changelog gen
* fix docs typo
* fix changelog file suffix
---------
Co-authored-by: Tomaz Muraus <[email protected]>
Co-authored-by: Tomaz Muraus <[email protected]>
Copy file name to clipboardExpand all lines: exporter/datasetexporter/README.md
+2
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,8 @@ If you do not want to specify `api_key` in the file, you can use the [builtin fu
33
33
-`traces`:
34
34
-`aggregate` (default = false): Count the number of spans and errors belonging to a trace.
35
35
-`max_wait` (default = 5s): The maximum waiting for all spans from single trace to arrive; ignored if `aggregate` is false.
36
+
-`logs`:
37
+
-`export_resource_info_on_event` (default = false): Include resource info to DataSet Event while exporting Logs. This is especially useful when reducing DataSet billable log volume.
36
38
-`retry_on_failure`: See [retry_on_failure](https://github.com/open-telemetry/opentelemetry-collector/blob/main/exporter/exporterhelper/README.md)
37
39
-`sending_queue`: See [sending_queue](https://github.com/open-telemetry/opentelemetry-collector/blob/main/exporter/exporterhelper/README.md)
38
40
-`timeout`: See [timeout](https://github.com/open-telemetry/opentelemetry-collector/blob/main/exporter/exporterhelper/README.md)
0 commit comments