Jaeger Process is internal (#1421)

* Jaeger Process is internal

* updating changelog
This commit is contained in:
Eddy Nakamura 2020-10-29 15:53:49 -03:00 committed by GitHub
parent da4d352a19
commit a8c579757d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 5 deletions

View File

@ -2,6 +2,9 @@
## Unreleased
* Moving Jaeger Process from public to internal.
([#1421](https://github.com/open-telemetry/opentelemetry-dotnet/pull/1421))
## 0.7.0-beta.1
Released 2020-Oct-16

View File

@ -17,13 +17,12 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenTelemetry.Exporter.Jaeger.Implementation;
using Thrift.Protocol;
using Thrift.Protocol.Entities;
namespace OpenTelemetry.Exporter.Jaeger
namespace OpenTelemetry.Exporter.Jaeger.Implementation
{
public class Process
internal class Process
{
public Process(string serviceName)
{

View File

@ -23,6 +23,7 @@ using OpenTelemetry.Resources;
using OpenTelemetry.Trace;
using Thrift.Protocol;
using Thrift.Transport;
using Process = OpenTelemetry.Exporter.Jaeger.Implementation.Process;
namespace OpenTelemetry.Exporter.Jaeger
{
@ -55,7 +56,7 @@ namespace OpenTelemetry.Exporter.Jaeger
this.Process = new Process(options.ServiceName, options.ProcessTags);
}
public Process Process { get; internal set; }
internal Process Process { get; set; }
internal Dictionary<string, Batch> CurrentBatches { get; } = new Dictionary<string, Batch>();

View File

@ -50,7 +50,7 @@ namespace Benchmarks.Exporter
new JaegerExporterOptions(),
new BlackHoleTransport())
{
Process = new OpenTelemetry.Exporter.Jaeger.Process("TestService"),
Process = new OpenTelemetry.Exporter.Jaeger.Implementation.Process("TestService"),
};
for (int i = 0; i < this.NumberOfBatches; i++)