open-telemetry / opentelemetry-cpp-contrib

https://opentelemetry.io/
Apache License 2.0
121 stars 130 forks source link

Bump opentelemetry-cpp version to 1.9.1, change LogExporter/LogProcessor to post-1.6 LogRecordExporter and LogRecordProcessor #294

Closed niande-xbox closed 1 year ago

niande-xbox commented 1 year ago

What? The fluentd exporter lacks breaking changes around the naming of Log classes (which changed to LogRecord classes).

Remove -DWITH_fluentd option that seems deprecated now.

What will this enable? This should enable adding opentelemetry-fluentd to vcpkg, since the opentelemetry-fluentd port depends on opentelemetry, so we need to be compilation-compatible with the latest version, which is 1.9.1.

What validation have I run? I've been able to see my changes in my own fluentd server:

023-06-20 19:46:35.296130644 +0000 Log: {"ObservedTimestamp":1687290395,"Timestamp":null,"body":"f2","severityNumber":5,"severityText":"DEBUG"} 2023-06-20 19:46:35.296328136 +0000 Log: {"ObservedTimestamp":1687290395,"Timestamp":null,"body":"f3","severityNumber":5,"severityText":"DEBUG"}

I've also passed the gtests: image

I also repeated the build and gtest-suite on a fresh Ubuntu-20.04 VM.

linux-foundation-easycla[bot] commented 1 year ago

CLA Signed

The committers listed above are authorized under a signed CLA.