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

telemetry-gateway: publish externally import-able Go proto bindings  #61489

@bobheadxi

Description

@bobheadxi

We need to offer an easy-to-use version of https://github.com/sourcegraph/sourcegraph/blob/main/internal/telemetrygateway/v1/telemetrygateway.proto via pre-generated Go proto bindings that can be imported by managed services, following the enablement done for managed services in https://github.com/sourcegraph/sourcegraph/pull/60991

The tricky part is that internal/telemetrygateway/v1 has some constructor helpers that are quite specific to Sourcegraph instance use cases. The easiest way might be to simply generate another set of bindings, or move some of the constructor helpers elsewhere, or move the bindings elsewhere.

Whatever we publish, we can send this to a standalone repo, or have a lib/telemetrygateway/go.mod for external consumers. The latter would be easier to implement, and easier for in-monorepo managed services to use (no circular dependency)

Would unblock/make life easier for:

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions