Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

Commit

Permalink
Set status values to OpenCensus. (#1991)
Browse files Browse the repository at this point in the history
The previous values used to be plain `census` but those changed to be
`opencensus`.

Signed-off-by: Markus Heimbach <[email protected]>
  • Loading branch information
esukram authored and songy23 committed Oct 17, 2019
1 parent d2fc3d5 commit 2a17c84
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ final class ZipkinExporterHandler extends TimeLimitedHandler {

// The naming follows Zipkin convention. As an example see:
// https://github.com/apache/incubator-zipkin-brave/blob/643b7245c462dc14d47afcdb076b2603fd421497/instrumentation/grpc/src/main/java/brave/grpc/GrpcParser.java#L67-L73
@VisibleForTesting static final String STATUS_CODE = "census.status_code";
@VisibleForTesting static final String STATUS_DESCRIPTION = "census.status_description";
@VisibleForTesting static final String STATUS_CODE = "opencensus.status_code";
@VisibleForTesting static final String STATUS_DESCRIPTION = "opencensus.status_description";
@VisibleForTesting static final String STATUS_ERROR = "error";

private final SpanBytesEncoder encoder;
Expand Down

0 comments on commit 2a17c84

Please sign in to comment.