From 1cc337101ce907a079c10cb4d5a40cca6f5a3b50 Mon Sep 17 00:00:00 2001 From: Liudmila Molkova Date: Fri, 2 Aug 2019 18:36:39 -0700 Subject: [PATCH] clean up some OpenCensus mentions in exporters --- .../ApplicationInsightsExporter.cs | 4 ++-- .../Implementation/TraceExporterHandler.cs | 4 ++-- src/OpenTelemetry.Exporter.Zipkin/ZipkinTraceExporter.cs | 4 ++-- .../ZipkinTraceExporterOptions.cs | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/OpenTelemetry.Exporter.ApplicationInsights/ApplicationInsightsExporter.cs b/src/OpenTelemetry.Exporter.ApplicationInsights/ApplicationInsightsExporter.cs index 22fe5a96446..6107a0fbb33 100644 --- a/src/OpenTelemetry.Exporter.ApplicationInsights/ApplicationInsightsExporter.cs +++ b/src/OpenTelemetry.Exporter.ApplicationInsights/ApplicationInsightsExporter.cs @@ -25,7 +25,7 @@ namespace OpenTelemetry.Exporter.ApplicationInsights using OpenTelemetry.Trace.Export; /// - /// Exporter of Open Census traces and metrics to Azure Application Insights. + /// Exporter of OpenTelemetry spans and metrics to Azure Application Insights. /// public class ApplicationInsightsExporter { @@ -47,7 +47,7 @@ public class ApplicationInsightsExporter /// /// Initializes a new instance of the class. - /// This exporter allows to send Open Census data to Azure Application Insights. + /// This exporter allows to send OpenTelemetry data to Azure Application Insights. /// /// Exporter to get traces and metrics from. /// View manager to get stats from. diff --git a/src/OpenTelemetry.Exporter.Zipkin/Implementation/TraceExporterHandler.cs b/src/OpenTelemetry.Exporter.Zipkin/Implementation/TraceExporterHandler.cs index 4901f0259a4..102db2b9aaa 100644 --- a/src/OpenTelemetry.Exporter.Zipkin/Implementation/TraceExporterHandler.cs +++ b/src/OpenTelemetry.Exporter.Zipkin/Implementation/TraceExporterHandler.cs @@ -34,8 +34,8 @@ internal class TraceExporterHandler : IHandler private const long NanosPerMillisecond = 1000 * 1000; private const long NanosPerSecond = NanosPerMillisecond * MillisPerSecond; - private static readonly string StatusCode = "census.status_code"; - private static readonly string StatusDescription = "census.status_description"; + private static readonly string StatusCode = "ot.status_code"; + private static readonly string StatusDescription = "ot.status_description"; private readonly ZipkinTraceExporterOptions options; private readonly ZipkinEndpoint localEndpoint; diff --git a/src/OpenTelemetry.Exporter.Zipkin/ZipkinTraceExporter.cs b/src/OpenTelemetry.Exporter.Zipkin/ZipkinTraceExporter.cs index 53eca9c88ff..dd6a8f1a3a2 100644 --- a/src/OpenTelemetry.Exporter.Zipkin/ZipkinTraceExporter.cs +++ b/src/OpenTelemetry.Exporter.Zipkin/ZipkinTraceExporter.cs @@ -21,7 +21,7 @@ namespace OpenTelemetry.Exporter.Zipkin using OpenTelemetry.Trace.Export; /// - /// Exporter of Open Census traces to Zipkin. + /// Exporter of OpenTelemetry spans to Zipkin. /// public class ZipkinTraceExporter { @@ -39,7 +39,7 @@ public class ZipkinTraceExporter /// /// Initializes a new instance of the class. - /// This exporter sends Open Census traces to Zipkin. + /// This exporter sends OpenTelemetry spans to Zipkin. /// /// Zipkin exporter configuration options. /// Exporter to get traces from. diff --git a/src/OpenTelemetry.Exporter.Zipkin/ZipkinTraceExporterOptions.cs b/src/OpenTelemetry.Exporter.Zipkin/ZipkinTraceExporterOptions.cs index a248d06a653..de2bad65a68 100644 --- a/src/OpenTelemetry.Exporter.Zipkin/ZipkinTraceExporterOptions.cs +++ b/src/OpenTelemetry.Exporter.Zipkin/ZipkinTraceExporterOptions.cs @@ -37,7 +37,7 @@ public sealed class ZipkinTraceExporterOptions /// /// Gets or sets the name of the service reporting telemetry. /// - public string ServiceName { get; set; } = "Open Census Exporter"; + public string ServiceName { get; set; } = "Open Telemetry Exporter"; /// /// Gets or sets a value indicating whether short trace id should be used.