Pre-bump to 0.3.1 for the upcoming patches (#220)

* Bump version to 0.3.0

* Bump version to 0.3.1-SNAPSHOT
2 files changed
tree: 2ecabbb7eeb47bf06d6cb0d742bad48c7d159c6b
  1. .github/
  2. gen-go/
  3. gen-openapi/
  4. gen-python/
  5. gen-ruby/
  6. gradle/
  7. src/
  8. .gitignore
  9. .travis.yml
  10. AUTHORS
  11. build.gradle
  12. CONTRIBUTING.md
  13. gradlew
  14. gradlew.bat
  15. LICENSE
  16. README.md
  17. RELEASING.md
  18. settings.gradle
README.md

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.

Quickstart

Install to Go

$ go get -u github.com/census-instrumentation/opencensus-proto

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:

<dependency>
  <groupId>io.opencensus</groupId>
  <artifactId>opencensus-proto</artifactId>
  <version>0.2.0</version>
</dependency>

For Gradle add to dependencies:

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

Add the dependencies to Bazel project

In WORKSPACE, add:

git_repository(
    name = "io_opencensus_proto",
    strip_prefix = "src",
    tag = "v0.2.0", # CURRENT_OPENCENSUS_PROTO_VERSION
    remote = "https://github.com/census-instrumentation/opencensus-proto",
)

or

http_archive(
    name = "io_opencensus_proto",
    strip_prefix = "opencensus-proto-master/src",
    urls = ["https://github.com/census-instrumentation/opencensus-proto/archive/master.zip"],
)

In BUILD.bazel:

proto_library(
    name = "foo_proto",
    srcs = ["foo.proto"],
    deps = [
      "@io_opencensus_proto//opencensus/proto/metrics/v1:metrics_proto",
      "@io_opencensus_proto//opencensus/proto/trace/v1:trace_proto",
      # etc.
    ],
)