-
Notifications
You must be signed in to change notification settings - Fork 793
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
Add configuration of persistent storage to OTLP Exporter #4251
Add configuration of persistent storage to OTLP Exporter #4251
Conversation
commit 080927d Author: Cijo Thomas <[email protected]> Date: Thu Sep 23 10:07:05 2021 -0700 Changelog update for 1.2.0.alpha4 (#2407) commit 61aaf2e Author: Reiley Yang <[email protected]> Date: Thu Sep 23 09:37:18 2021 -0700 Simplify tutorials (#2406) commit 78baf7c Author: Reiley Yang <[email protected]> Date: Thu Sep 23 08:02:09 2021 -0700 Implement the metrics dispose/shutdown logic (#2404) commit 256fc2d Author: Michael Maxwell <[email protected]> Date: Wed Sep 22 17:35:15 2021 -0400 Use `Stopwatch.StartNew()` (#2403)
…her.cs yes thank you, good catch Co-authored-by: Robert Pająk <[email protected]>
@@ -19,6 +19,7 @@ | |||
<PackageReference Include="Grpc" Version="$(GrpcPkgVer)" Condition="'$(TargetFramework)' == 'netstandard2.0' OR '$(TargetFramework)' == 'net462'" /> | |||
<PackageReference Include="Google.Protobuf" Version="$(GoogleProtobufPkgVer)" /> | |||
<PackageReference Include="Grpc.Tools" Version="$(GrpcToolsPkgVer)" PrivateAssets="all" /> | |||
<PackageReference Include="OpenTelemetry.Extensions.PersistentStorage.Abstractions" Version="$(PersistentStoragePkgVer)" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to find alternate ways to achieve this. This dependency is unlikely to be accepted for this component, as we have strict 1.5 timeline (when this component need to ship stable) and cannot be blocked as this dependency is a beta component.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should be able to ship stable version for the abstractions before that. Just need to rename the package
#3469
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the main/core/SDK package really on the contrib package?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was discussed in the SIG meeting yesterday, and the general consensus is not to have this dependency.
It could be a separate OTLPWithPersistence package that does this and internally using/overriding the main OTLP Exporter.
Or
OTLP Exporter could expose some general purpose callbacks which can be leveraged by the OTLPWithPersistence package.
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #4251 +/- ##
==========================================
+ Coverage 83.15% 84.26% +1.10%
==========================================
Files 296 297 +1
Lines 11775 11818 +43
==========================================
+ Hits 9792 9958 +166
+ Misses 1983 1860 -123
|
…max/opentelemetry-dotnet into otld-persist-failed-exports
...rter.OpenTelemetryProtocol.PersistentStorage/OtlpTraceExporterPersistentStorageExtensions.cs
Outdated
Show resolved
Hide resolved
...rter.OpenTelemetryProtocol.PersistentStorage/OtlpTraceExporterPersistentStorageExtensions.cs
Outdated
Show resolved
Hide resolved
This PR was marked stale due to lack of activity and will be closed in 7 days. Commenting or Pushing will instruct the bot to automatically remove the label. This bot runs once per day. |
Closed as inactive. Feel free to reopen if this PR is still being worked on. |
Towards #4115
Changes
Screenshot showing OTLP example program running and the file it creates.
![image](https://user-images.githubusercontent.com/15165028/216739471-54f290d4-e74b-4977-9424-9578acf37f6b.png)