OpenCensus

Opencensus Proto

License

License

GroupId

GroupId

io.opencensus
ArtifactId

ArtifactId

opencensus-proto
Last Version

Last Version

0.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

OpenCensus
Opencensus Proto
Project URL

Project URL

https://github.com/census-instrumentation/opencensus-proto
Source Code Management

Source Code Management

https://github.com/census-instrumentation/opencensus-proto

Download opencensus-proto

How to add to project

<!-- https://jarcasting.com/artifacts/io.opencensus/opencensus-proto/ -->
<dependency>
    <groupId>io.opencensus</groupId>
    <artifactId>opencensus-proto</artifactId>
    <version>0.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/io.opencensus/opencensus-proto/
implementation 'io.opencensus:opencensus-proto:0.2.0'
// https://jarcasting.com/artifacts/io.opencensus/opencensus-proto/
implementation ("io.opencensus:opencensus-proto:0.2.0")
'io.opencensus:opencensus-proto:jar:0.2.0'
<dependency org="io.opencensus" name="opencensus-proto" rev="0.2.0">
  <artifact name="opencensus-proto" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.opencensus', module='opencensus-proto', version='0.2.0')
)
libraryDependencies += "io.opencensus" % "opencensus-proto" % "0.2.0"
[io.opencensus/opencensus-proto "0.2.0"]

Dependencies

compile (3)

Group / Artifact Type Version
com.google.protobuf : protobuf-java jar 3.5.1
io.grpc : grpc-protobuf jar 1.14.0
io.grpc : grpc-stub jar 1.14.0

Project Modules

There are no modules declared in this project.

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.
    ],
)
io.opencensus

OpenCensus

A single distribution of libraries that automatically collect traces and metrics from your app, display them locally, and send them to any backend.

Versions

Version
0.2.0
0.1.0
0.0.2