Skip to content

api: Use the public maven central relase of io.opencensus:opencensus-proto #237

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions api/pom.xml
Original file line number Diff line number Diff line change
@@ -27,6 +27,12 @@
<version>${grpc.version}</version>
</dependency>

<dependency>
<groupId>io.opencensus</groupId>
<artifactId>opencensus-proto</artifactId>
<version>${opencensus.version}</version>
</dependency>

<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
101 changes: 0 additions & 101 deletions api/src/main/proto/opencensus/proto/agent/common/v1/common.proto

This file was deleted.

This file was deleted.

This file was deleted.

303 changes: 0 additions & 303 deletions api/src/main/proto/opencensus/proto/metrics/v1/metrics.proto

This file was deleted.

35 changes: 0 additions & 35 deletions api/src/main/proto/opencensus/proto/resource/v1/resource.proto

This file was deleted.

138 changes: 0 additions & 138 deletions api/src/main/proto/opencensus/proto/stats/v1/stats.proto

This file was deleted.

422 changes: 0 additions & 422 deletions api/src/main/proto/opencensus/proto/trace/v1/trace.proto

This file was deleted.

81 changes: 0 additions & 81 deletions api/src/main/proto/opencensus/proto/trace/v1/trace_config.proto

This file was deleted.

1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -30,6 +30,7 @@
<grpc.version>1.22.1</grpc.version>
<guava.version>26.0-android</guava.version><!-- Keep the Guava version in sync with grpc-java -->
<junit.version>4.13.1</junit.version>
<opencensus.version>0.2.0</opencensus.version>
<protobuf.version>3.9.1</protobuf.version><!-- Keep the Protobuf version in sync with grpc-java -->
<rest-assured.version>3.1.0</rest-assured.version>
<slf4j.version>1.7.26</slf4j.version>
1 change: 0 additions & 1 deletion tools/API_SHAS
Original file line number Diff line number Diff line change
@@ -7,6 +7,5 @@ ENVOY_SHA="dcd329a2e95b54f754b17aceca3f72724294b502"
GOOGLEAPIS_SHA="82944da21578a53b74e547774cf62ed31a05b841" # 2019-12-02
PGV_VERSION="0.6.7" # 2022-03-04
PROMETHEUS_SHA="147c58e9608a4f9628b53b6cc863325ca746f63a" # 2021-06-07
OPENCENSUS_VERSION="0.3.0" # 2020-07-21
OPENTELEMETRY_VERSION="0.11.0" # 2021-10-07
UDPA_SHA="7f1daf1720fc185f3b63f70d25aefaeef83d88d7" # 2022-03-14
4 changes: 0 additions & 4 deletions tools/update-api.sh
Original file line number Diff line number Diff line change
@@ -46,10 +46,6 @@ curl -sL https://github.com/envoyproxy/protoc-gen-validate/archive/v${PGV_VERSIO
mkdir -p "${protodir}/validate"
cp -r protoc-gen-validate-*/validate/* "${protodir}/validate"

curl -sL https://github.com/census-instrumentation/opencensus-proto/archive/v${OPENCENSUS_VERSION}.tar.gz | tar xz --wildcards '*.proto'
mkdir -p "${protodir}/opencensus/proto"
cp -r opencensus-proto-*/src/opencensus/proto/* "${protodir}/opencensus/proto"

curl -sL https://github.com/prometheus/client_model/archive/${PROMETHEUS_SHA}.tar.gz | tar xz --wildcards '*.proto'
mkdir -p "${protodir}/io/prometheus/client/"
cp client_model-*/io/prometheus/client/metrics.proto "${protodir}/io/prometheus/client/"
4 changes: 0 additions & 4 deletions tools/update-sha.sh
Original file line number Diff line number Diff line change
@@ -35,9 +35,6 @@ PGV_GIT_DATE=$(find_date "$CURL_OUTPUT" com_envoyproxy_protoc_gen_validate)
PROMETHEUS_SHA=$(find_sha "$CURL_OUTPUT" prometheus_metrics_model)
PROMETHEUS_DATE=$(find_date "$CURL_OUTPUT" prometheus_metrics_model)

OPENCENSUS_SHA=$(find_sha "$CURL_OUTPUT" opencensus_proto)
OPENCENSUS_DATE=$(find_date "$CURL_OUTPUT" opencensus_proto)

UDPA_SHA=$(find_sha "$CURL_OUTPUT" com_github_cncf_udpa)
UDPA_DATE=$(find_date "$CURL_OUTPUT" com_github_cncf_udpa)

@@ -53,7 +50,6 @@ ENVOY_SHA=\"$ENVOY_VERSION\"
GOOGLEAPIS_SHA=\"$GOOGLEAPIS_SHA\" # $GOOGLEAPIS_DATE
PGV_VERSION=\"$PGV_GIT_SHA\" # $PGV_GIT_DATE
PROMETHEUS_SHA=\"$PROMETHEUS_SHA\" # $PROMETHEUS_DATE
OPENCENSUS_VERSION=\"$OPENCENSUS_SHA\" # $OPENCENSUS_DATE
OPENTELEMETRY_VERSION=\"$OPENTELEMETRY_SHA\" # $OPENTELEMETRY_DATE
UDPA_SHA=\"$UDPA_SHA\" # $UDPA_DATE
"