1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-05 22:54:18 +02:00
opentelemetry-go/sdk/log
Tyler Yahn 321219b2a6
Add export sync (#5105)
* Add export sync

The batching log processor will generate records from 4 different
locations (polling, OnEmit, ForceFlush, Shutdown). In order to ensure an
Exporter is called serially, as is required by the interface, this
function will be used in the processor to centralize the interaction
with its Exporter.

Part of #5063.

See #5093 for the implementation use.

* Concurrent safe testExporter

---------

Co-authored-by: Sam Xie <sam@samxie.me>
2024-03-27 11:45:35 -07:00
..
batch_test.go Refactor testing of batching config (#5106) 2024-03-26 13:22:53 +01:00
batch.go Implement the BatchingProcessor configuration (#5088) 2024-03-25 07:50:19 -07:00
DESIGN.md [chore] Remove open issues for design docs (#5112) 2024-03-27 18:34:31 +01:00
doc.go sdk/log: Scaffolding (#5068) 2024-03-13 17:47:07 +01:00
exporter_test.go Add export sync (#5105) 2024-03-27 11:45:35 -07:00
exporter.go Add export sync (#5105) 2024-03-27 11:45:35 -07:00
go.mod Implement the LoggerProvider (#5080) 2024-03-18 06:57:43 +01:00
go.sum sdk/log: Implement Record (#5073) 2024-03-14 15:40:48 +01:00
logger_bench_test.go Add benchmark for logger (#5101) 2024-03-26 17:47:30 +01:00
logger_test.go Add benchmark for logger (#5101) 2024-03-26 17:47:30 +01:00
logger.go sdk/log: ObservedTimestamp should be set (#5091) 2024-03-22 07:39:01 -07:00
processor.go Add the Enabled method to the Logger (#5071) 2024-03-15 08:15:44 -07:00
provider_test.go Implement the BatchingProcessor configuration (#5088) 2024-03-25 07:50:19 -07:00
provider.go Implement the BatchingProcessor configuration (#5088) 2024-03-25 07:50:19 -07:00
README.md Add READMEs to every package (#5103) 2024-03-26 20:13:54 +01:00
record_test.go sdk/log: Implement Record (#5073) 2024-03-14 15:40:48 +01:00
record.go sdk/log: Implement Record (#5073) 2024-03-14 15:40:48 +01:00
setting_test.go Implement the BatchingProcessor configuration (#5088) 2024-03-25 07:50:19 -07:00
setting.go Implement the BatchingProcessor configuration (#5088) 2024-03-25 07:50:19 -07:00
simple_test.go Implement the SimpleProcessor (#5079) 2024-03-17 07:47:05 -07:00
simple.go Do not alloc multiple noop exporters (#5083) 2024-03-19 10:33:57 -07:00

Log SDK

PkgGoDev