Skip to content
Closed
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions api/envoy/config/trace/v3/opencensus.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ option (udpa.annotations.file_status).package_version_status = ACTIVE;

// [#protodoc-title: OpenCensus tracer]

// [#not-implemented-hide:]
//
// Configuration for the OpenCensus tracer.
// [#next-free-field: 15]
// [#extension: envoy.tracers.opencensus]
Expand Down
3 changes: 0 additions & 3 deletions bazel/external/rapidjson.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,4 @@ cc_library(
hdrs = glob(["include/rapidjson/**/*.h"]),
defines = ["RAPIDJSON_HAS_STDSTRING=1"],
includes = ["include"],
# rapidjson is only needed to build external dependency of the Zipkin tracer.
# For Envoy source code plese use source/common/json/json_loader.h
visibility = ["@io_opencensus_cpp//opencensus/exporters/trace/zipkin:__pkg__"],
)
43 changes: 0 additions & 43 deletions bazel/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ WINDOWS_SKIP_TARGETS = [
"envoy.filters.http.sxg",
"envoy.tracers.dynamic_ot",
"envoy.tracers.datadog",
"envoy.tracers.opencensus",
]

# Make all contents of an external repository accessible under a filegroup. Used for external HTTP
Expand Down Expand Up @@ -285,7 +284,6 @@ def envoy_dependencies(skip_targets = []):
_com_google_absl()
_com_google_googletest()
_com_google_protobuf()
_io_opencensus_cpp()
_com_github_curl()
_com_github_envoyproxy_sqlparser()
_v8()
Expand Down Expand Up @@ -902,47 +900,6 @@ def _com_google_protobuf():
actual = "//bazel:python_headers",
)

def _io_opencensus_cpp():
external_http_archive(
name = "io_opencensus_cpp",
)
native.bind(
name = "opencensus_trace",
actual = "@io_opencensus_cpp//opencensus/trace",
)
native.bind(
name = "opencensus_trace_b3",
actual = "@io_opencensus_cpp//opencensus/trace:b3",
)
native.bind(
name = "opencensus_trace_cloud_trace_context",
actual = "@io_opencensus_cpp//opencensus/trace:cloud_trace_context",
)
native.bind(
name = "opencensus_trace_grpc_trace_bin",
actual = "@io_opencensus_cpp//opencensus/trace:grpc_trace_bin",
)
native.bind(
name = "opencensus_trace_trace_context",
actual = "@io_opencensus_cpp//opencensus/trace:trace_context",
)
native.bind(
name = "opencensus_exporter_ocagent",
actual = "@io_opencensus_cpp//opencensus/exporters/trace/ocagent:ocagent_exporter",
)
native.bind(
name = "opencensus_exporter_stdout",
actual = "@io_opencensus_cpp//opencensus/exporters/trace/stdout:stdout_exporter",
)
native.bind(
name = "opencensus_exporter_stackdriver",
actual = "@io_opencensus_cpp//opencensus/exporters/trace/stackdriver:stackdriver_exporter",
)
native.bind(
name = "opencensus_exporter_zipkin",
actual = "@io_opencensus_cpp//opencensus/exporters/trace/zipkin:zipkin_exporter",
)

def _com_github_curl():
# Used by OpenCensus Zipkin exporter.
external_http_archive(
Expand Down
18 changes: 1 addition & 17 deletions bazel/repository_locations.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ REPOSITORY_LOCATIONS_SPEC = dict(
urls = ["https://github.com/Tencent/rapidjson/archive/{version}.tar.gz"],
use_category = ["observability_ext"],
# Rapidjson is used in the external dependency of zipkin tracer.
extensions = ["envoy.tracers.zipkin", "envoy.tracers.opencensus"],
extensions = ["envoy.tracers.zipkin"],
release_date = "2019-12-03",
cpe = "cpe:2.3:a:tencent:rapidjson:*",
license = "RapidJSON",
Expand Down Expand Up @@ -1045,21 +1045,6 @@ REPOSITORY_LOCATIONS_SPEC = dict(
license = "Apache-2.0",
license_url = "https://github.com/WebAssembly/wasm-c-api/blob/{version}/LICENSE",
),
io_opencensus_cpp = dict(
project_name = "OpenCensus C++",
project_desc = "OpenCensus tracing library",
project_url = "https://github.com/census-instrumentation/opencensus-cpp",
version = "f68a2d0ea43eb61a4b7889f09987294c4f94d436",
sha256 = "b5fd69da558d08480e254c7e2a91e23a88ec8b72d9aec1a6c2329d7560a61744",
strip_prefix = "opencensus-cpp-{version}",
urls = ["https://github.com/census-instrumentation/opencensus-cpp/archive/{version}.tar.gz"],
use_category = ["observability_ext"],
extensions = ["envoy.tracers.opencensus"],
release_date = "2022-09-20",
cpe = "N/A",
license = "Apache-2.0",
license_url = "https://github.com/census-instrumentation/opencensus-cpp/blob/{version}/LICENSE",
),
# This should be removed, see https://github.com/envoyproxy/envoy/issues/11816.
com_github_curl = dict(
project_name = "curl",
Expand All @@ -1074,7 +1059,6 @@ REPOSITORY_LOCATIONS_SPEC = dict(
"envoy.filters.http.aws_lambda",
"envoy.filters.http.aws_request_signing",
"envoy.grpc_credentials.aws_iam",
"envoy.tracers.opencensus",
],
release_date = "2023-07-26",
cpe = "cpe:2.3:a:haxx:libcurl:*",
Expand Down
1 change: 0 additions & 1 deletion docs/v2_mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@
"envoy/config/trace/v3/dynamic_ot.proto": "envoy/config/trace/v2/dynamic_ot.proto",
"envoy/config/trace/v3/http_tracer.proto": "envoy/config/trace/v2/http_tracer.proto",
"envoy/config/trace/v3/lightstep.proto": "envoy/config/trace/v2/lightstep.proto",
"envoy/config/trace/v3/opencensus.proto": "envoy/config/trace/v2/opencensus.proto",
"envoy/config/trace/v3/service.proto": "envoy/config/trace/v2/service.proto",
"envoy/config/trace/v3/zipkin.proto": "envoy/config/trace/v2/zipkin.proto",
"envoy/config/trace/v3/xray.proto": "envoy/config/trace/v2alpha/xray.proto",
Expand Down
1 change: 0 additions & 1 deletion source/extensions/extensions_build_config.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ EXTENSIONS = {
"envoy.tracers.dynamic_ot": "//source/extensions/tracers/dynamic_ot:config",
"envoy.tracers.datadog": "//source/extensions/tracers/datadog:config",
"envoy.tracers.zipkin": "//source/extensions/tracers/zipkin:config",
"envoy.tracers.opencensus": "//source/extensions/tracers/opencensus:config",
"envoy.tracers.xray": "//source/extensions/tracers/xray:config",
"envoy.tracers.skywalking": "//source/extensions/tracers/skywalking:config",
"envoy.tracers.opentelemetry": "//source/extensions/tracers/opentelemetry:config",
Expand Down
7 changes: 0 additions & 7 deletions source/extensions/extensions_metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1102,13 +1102,6 @@ envoy.tracers.dynamic_ot:
status: stable
type_urls:
- envoy.config.trace.v3.DynamicOtConfig
envoy.tracers.opencensus:
categories:
- envoy.tracers
security_posture: robust_to_untrusted_downstream
status: stable
type_urls:
- envoy.config.trace.v3.OpenCensusConfig
envoy.tracers.opentelemetry:
categories:
- envoy.tracers
Expand Down
47 changes: 0 additions & 47 deletions source/extensions/tracers/opencensus/BUILD

This file was deleted.

43 changes: 0 additions & 43 deletions source/extensions/tracers/opencensus/config.cc

This file was deleted.

38 changes: 0 additions & 38 deletions source/extensions/tracers/opencensus/config.h

This file was deleted.

Loading