sourcegraph/lib
Robert Lin 7940d2485e
telemetry-gateway: implement Managed Services receiver (#61022)
See https://github.com/sourcegraph/sourcegraph/pull/60991 - this implements support for the new RPC, `RecordEvent`, and the new `ManagedService` identifier type.

To use the new `ManagedService`, appropriately scoped SAMS M2M credentials are required - see go/sams-m2m. This change leverages the SAMS client introduced by the PLG team to do authn/authz based on SAMS M2M auth (`samsm2m. CheckWriteEventsScope`)

To help us track this, I've also added the concept of a "publisher source" mapping to the proto metadata identifier types (e.g. `ManagedService`) - these are used as metric labels.
2024-03-15 18:51:54 +08:00
..
api enterprise: Move last directory out (#57392) 2023-10-05 20:15:40 +00:00
background Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
batches code-search: handle changeset fork when creating a batch change via src-cli (#58156) 2023-11-08 09:55:05 +01:00
cliutil sg: improve positional completions (#58569) 2023-11-27 16:30:59 -08:00
codeintel cleanup: Remove 'Dump' terminology from backend (#61131) 2024-03-15 10:30:18 +08:00
errors chore: links/ownership devx->dev-infra (#58999) 2023-12-14 15:07:20 +00:00
gitservice Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
iterator ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
managedservicesplatform telemetry-gateway: implement Managed Services receiver (#61022) 2024-03-15 18:51:54 +08:00
output rfc795: new release process foundations (#60962) 2024-03-12 17:12:22 +01:00
pointers msp: add monitoring stack (#58816) 2023-12-13 19:40:57 +00:00
process vcssyncer: Move clone implementation details into syncer (#57688) 2023-10-27 20:55:59 +02:00
servicecatalog Remove GitHub proxy service (#56485) 2023-09-14 19:43:40 +02:00
go.mod bump to Go 1.22.1 (#60902) 2024-03-06 17:38:43 -07:00
go.sum bump to Go 1.22.1 (#60902) 2024-03-06 17:38:43 -07:00
README.md lib: Introduce non-enterprise lib directory (#18992) 2021-03-10 19:41:33 -06:00
tools.go bump to Go 1.22.1 (#60902) 2024-03-06 17:38:43 -07:00

Sourcegraph lib module

This directory is the root of a separate go module from the primary module rooted at sourcegraph/sourcegraph. This module exists to hold code that we want to reuse outside of the sourcegraph/sourcegraph repo.

Code in this module should not import from sourcegraph/sourcegraph or from other Sourcegraph repositories to avoid complicated dependency relationships. Instead consider moving code from elsewhere into this module.