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

Clean up some OpenCensus mentions in exporters #174

Merged
merged 3 commits into from
Aug 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace OpenTelemetry.Exporter.ApplicationInsights
using OpenTelemetry.Trace.Export;

/// <summary>
/// Exporter of Open Census traces and metrics to Azure Application Insights.
/// Exporter of OpenTelemetry spans and metrics to Azure Application Insights.
/// </summary>
public class ApplicationInsightsExporter
{
Expand All @@ -47,7 +47,7 @@ public class ApplicationInsightsExporter

/// <summary>
/// Initializes a new instance of the <see cref="ApplicationInsightsExporter"/> class.
/// This exporter allows to send Open Census data to Azure Application Insights.
/// This exporter allows to send OpenTelemetry data to Azure Application Insights.
/// </summary>
/// <param name="exporter">Exporter to get traces and metrics from.</param>
/// <param name="viewManager">View manager to get stats from.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/OpenTelemetry.Exporter.Zipkin/ZipkinTraceExporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace OpenTelemetry.Exporter.Zipkin
using OpenTelemetry.Trace.Export;

/// <summary>
/// Exporter of Open Census traces to Zipkin.
/// Exporter of OpenTelemetry spans to Zipkin.
/// </summary>
public class ZipkinTraceExporter
{
Expand All @@ -39,7 +39,7 @@ public class ZipkinTraceExporter

/// <summary>
/// Initializes a new instance of the <see cref="ZipkinTraceExporter"/> class.
/// This exporter sends Open Census traces to Zipkin.
/// This exporter sends OpenTelemetry spans to Zipkin.
/// </summary>
/// <param name="options">Zipkin exporter configuration options.</param>
/// <param name="exporter">Exporter to get traces from.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public sealed class ZipkinTraceExporterOptions
/// <summary>
/// Gets or sets the name of the service reporting telemetry.
/// </summary>
public string ServiceName { get; set; } = "Open Census Exporter";
public string ServiceName { get; set; } = "Open Telemetry Exporter";

/// <summary>
/// Gets or sets a value indicating whether short trace id should be used.
Expand Down