Clone this repo:
  1. 54c9a4c Start 0.4.0 development cycle (#219) by Nail Islamov · 1 year, 10 months ago master
  2. cfe95db Generate Go types using protocolbuffers/protobuf-go (#218) by Nail Islamov · 1 year, 10 months ago
  3. be218fb Load proto_library() rule. (#216) by easy · 2 years, 5 months ago
  4. 5cec5ea Remove grpc_java dependency and java_proto rules. (#214) by easy · 2 years, 9 months ago
  5. 26aa36c Add C++ targets, especially for gRPC services. (#212) by easy · 2 years, 10 months ago

OpenCensus Proto - Language Independent Interface Types For OpenCensus

Gitter chat Build Status Maven Central Javadocs GoDoc PyPI

Census provides a framework to define and collect stats against metrics and to break those stats down across user-defined dimensions.

The Census framework is natively available in many languages (e.g. C++, Go, and Java). The API interface types are defined using protos to ensure consistency and interoperability for the different implementations.


Install to Go

$ go get -u

In most cases you should depend on the gen-go files directly. If you are building with Bazel, there are also go_proto_library build rules available. See PR/132 for details. However, please note that Bazel doesn't generate the final artifacts.

Add the dependencies to your Java project

For Maven add to pom.xml:


For Gradle add to dependencies:

compile 'io.opencensus:opencensus-proto:0.2.0'

Add the dependencies to Bazel project


    name = "io_opencensus_proto",
    strip_prefix = "src",
    remote = "",


    name = "io_opencensus_proto",
    strip_prefix = "opencensus-proto-master/src",
    urls = [""],

In BUILD.bazel:

    name = "foo_proto",
    srcs = ["foo.proto"],
    deps = [
      # etc.