sourcegraph/doc/dev
Robert Lin fce0faf66f
lib/telemetrygateway: publish all non-Sourcegraph-specific Telemetry Gateway bindings (#62061)
Migrates the Telemetry Gateway:

1. Service specification
2. Generated Go bindings
3. UUID constructor

into an exported `lib/telemetrygateway` package for internal and external consumption. See https://github.com/sourcegraph/sourcegraph/issues/61489 for use cases. This allows MSP services to more easily start publishing events for to Telemetry Gateway, and adds no new dependencies to `lib`.

Splits Sourcegraph-specific functionality that used to live in the `telemetrygateway/v1` package to:

1. `internal/telemetrygateway`: backcompat testing
2. `internal/telmeetrygateway/event`: event constructors (collapsing into parent caused import cycle)

I've left README + a stub service spec in the old package to redirect visitors from outdated links.

Closes https://github.com/sourcegraph/sourcegraph/issues/61489

## Test plan

```
sg start
```

watch for successful export logs from `telemetrygatewayexporter`
2024-04-22 14:36:46 -07:00
..
background-information lib/telemetrygateway: publish all non-Sourcegraph-specific Telemetry Gateway bindings (#62061) 2024-04-22 14:36:46 -07:00
contributing remove more ENTERPRISE=1 remnants (#57232) 2023-10-02 10:43:11 -07:00
how-to telemetry-gateway: use live dev instance locally by default (#61897) 2024-04-16 11:01:49 -07:00
radar Sourcegraph Tech Radar (#35538) 2022-06-08 13:51:04 +02:00
security Backport dev docs changes that happened in docsite v2 (#61931) 2024-04-16 16:51:00 +02:00
setup Backport dev docs changes that happened in docsite v2 (#61931) 2024-04-16 16:51:00 +02:00
index.md Backport dev docs changes that happened in docsite v2 (#61931) 2024-04-16 16:51:00 +02:00