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

[Exporter.Geneva] Move TableNameMappings checks to GenevaExporterOptions class #646

Merged

Conversation

utpilla
Copy link
Contributor

@utpilla utpilla commented Sep 16, 2022

Changes

  • Move TableNameMappings checks from GenevaTraceExporter and GenevaLogExporter ctor to GenevaExporterOptions class

Please provide a brief description of the changes here.

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

  • Appropriate CHANGELOG.md updated for non-trivial changes

{
throw new ArgumentNullException(entry.Key, $"{nameof(this.TableNameMappings)} must not contain null values.");
throw new ArgumentException($"A string-typed value provided for {nameof(this.TableNameMappings)} must not be null, empty, or consist only of white-space characters.");
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This check didn't exist for GenevaLogExporter.

@codecov
Copy link

codecov bot commented Sep 17, 2022

Codecov Report

Merging #646 (224ae61) into main (64d9773) will increase coverage by 0.04%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #646      +/-   ##
==========================================
+ Coverage   77.74%   77.78%   +0.04%     
==========================================
  Files         170      170              
  Lines        5158     5154       -4     
==========================================
- Hits         4010     4009       -1     
+ Misses       1148     1145       -3     
Impacted Files Coverage Δ
...OpenTelemetry.Exporter.Geneva/GenevaLogExporter.cs 93.83% <ø> (+0.38%) ⬆️
...enTelemetry.Exporter.Geneva/GenevaTraceExporter.cs 93.03% <ø> (+0.83%) ⬆️
...Telemetry.Exporter.Geneva/GenevaExporterOptions.cs 91.66% <100.00%> (+0.49%) ⬆️

@utpilla utpilla added the comp:exporter.geneva Things related to OpenTelemetry.Exporter.Geneva label Sep 17, 2022
@utpilla utpilla merged commit f435183 into open-telemetry:main Sep 17, 2022
@utpilla utpilla deleted the utpilla/Update-GenevaExporter-options branch January 9, 2023 23:20
@utpilla utpilla restored the utpilla/Update-GenevaExporter-options branch January 9, 2023 23:20
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