Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow serialization of Unicode characters for Exception type #375

Conversation

utpilla
Copy link
Contributor

@utpilla utpilla commented May 25, 2022

Addressing the issue mentioned here: #345 (comment)

Changes

  • Use SerializeUnicodeString method to serialize LogRecord.Exception.GetType().FullName

For significant contributions please make sure you have completed the following items:

  • Appropriate CHANGELOG.md updated for non-trivial changes

@codecov
Copy link

codecov bot commented May 25, 2022

Codecov Report

Merging #375 (25e5eeb) into main (dcf0156) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #375   +/-   ##
=======================================
  Coverage   22.36%   22.36%           
=======================================
  Files         148      148           
  Lines        4533     4533           
=======================================
  Hits         1014     1014           
  Misses       3519     3519           
Impacted Files Coverage Δ
...OpenTelemetry.Exporter.Geneva/GenevaLogExporter.cs 91.46% <100.00%> (ø)

Copy link
Member

@reyang reyang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just realized that many source files in this repo use UTF-8 BOM, probably worth considering some improvements (many tools don't work well with non-ASCII characters in the source code - e.g. low level debuggers, old fashioned terminal). This doesn't have to block the PR.

The blocker is https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/375/files#r881894745.

@utpilla utpilla added the comp:exporter.geneva Things related to OpenTelemetry.Exporter.Geneva label May 26, 2022
@utpilla utpilla merged commit 827eb25 into open-telemetry:main May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:exporter.geneva Things related to OpenTelemetry.Exporter.Geneva
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants