Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
doc/telemetry: add exported events schema (#57106)
Browse files Browse the repository at this point in the history
This adds a generated markdown reference that can serve as a source-of-truth for exactly what data we do and don't export from Sourcegraph instances.

Table output is a little funky, unless pseudomuto/protoc-gen-doc#520 gets landed one day (for that new `br` template function)

---------

Co-authored-by: William Bezuidenhout <william.bezuidenhout@sourcegraph.com>
  • Loading branch information
bobheadxi and burmudar authored Sep 28, 2023
1 parent dd3cf57 commit 3efaaf9
Show file tree
Hide file tree
Showing 12 changed files with 742 additions and 185 deletions.
28 changes: 22 additions & 6 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ http_archive(
],
)

http_archive(
name = "rules_proto_grpc",
sha256 = "9ba7299c5eb6ec45b6b9a0ceb9916d0ab96789ac8218269322f0124c0c0d24e2",
strip_prefix = "rules_proto_grpc-4.5.0",
urls = ["https://github.com/rules-proto-grpc/rules_proto_grpc/releases/download/4.5.0/rules_proto_grpc-4.5.0.tar.gz"],
)

http_archive(
name = "rules_buf",
sha256 = "523a4e06f0746661e092d083757263a249fedca535bd6dd819a8c50de074731a",
Expand Down Expand Up @@ -241,23 +248,32 @@ load("@webpack//:npm_repositories.bzl", webpack_npm_repositories = "npm_reposito
webpack_npm_repositories()

# Go toolchain setup
load("@rules_proto_grpc//:repositories.bzl", "rules_proto_grpc_repos", "rules_proto_grpc_toolchains")

load("@rules_buf//buf:repositories.bzl", "rules_buf_dependencies", "rules_buf_toolchains")

rules_buf_dependencies()
rules_proto_grpc_toolchains()

rules_buf_toolchains(version = "v1.11.0")
rules_proto_grpc_repos()

load("@rules_buf//gazelle/buf:repositories.bzl", "gazelle_buf_dependencies")
load("@rules_proto_grpc//doc:repositories.bzl", rules_proto_grpc_doc_repos = "doc_repos")

gazelle_buf_dependencies()
rules_proto_grpc_doc_repos()

load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")

rules_proto_dependencies()

rules_proto_toolchains()

load("@rules_buf//buf:repositories.bzl", "rules_buf_dependencies", "rules_buf_toolchains")

rules_buf_dependencies()

rules_buf_toolchains(version = "v1.11.0")

load("@rules_buf//gazelle/buf:repositories.bzl", "gazelle_buf_dependencies")

gazelle_buf_dependencies()

load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository")
load("//:linter_deps.bzl", "linter_dependencies")
Expand Down
Loading

0 comments on commit 3efaaf9

Please sign in to comment.