tag | 8e057c9ce1eb6d573c4711355853fe9ed6155238 | |
---|---|---|
tagger | David Ashpole <dashpole@google.com> | Fri Sep 23 17:40:37 2022 |
object | e53624a87b9b9b919147a9b4626c669a869ebb34 |
Version 0.4.1
commit | e53624a87b9b9b919147a9b4626c669a869ebb34 | [log] [tgz] |
---|---|---|
author | David Ashpole <dashpole@google.com> | Fri Sep 23 17:40:20 2022 |
committer | David Ashpole <dashpole@google.com> | Fri Sep 23 17:40:20 2022 |
tree | 6b25e84886ea951380b99771e4ee55f2a4c45d39 | |
parent | 576a4cae65940a353684090ac4a2ec456b88880d [diff] |
Bump version to 0.4.1
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.
$ 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.
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'
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. ], )