sourcegraph/internal
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
..
accesstoken pre-commit: add pre-commit directives to token tests (#59423) 2024-01-09 19:05:39 +01:00
actor actor: always preserve anonymousUID, even on authenticated actors (#58942) 2023-12-13 00:10:39 +00:00
adminanalytics logger: update log lib and remove use of description (#57690) 2023-10-18 17:29:08 +02:00
api Cleanup internalapi after gRPC migration (#60572) 2024-02-19 14:13:26 +01:00
audit Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
auth bump to Go 1.22.1 (#60902) 2024-03-06 17:38:43 -07:00
authbearer telemetry-gateway: implement Managed Services receiver (#61022) 2024-03-15 18:51:54 +08:00
authz dotcom: MockSourcegraphDotComMode requires a T for cleanup (#61172) 2024-03-14 20:27:21 +00:00
batches gitserver: Remove effectively disabled debouncing of updates (#60584) 2024-03-14 02:04:14 +01:00
binary
bytesize github star/size exclusion: incorporate feedback from code review (#58398) 2023-11-17 10:21:24 +01:00
byteutils Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
cloneurls Move dotcom check out of cmd/frontend (#60810) 2024-03-04 16:05:16 +00:00
cloud soap: add support for site config allowlist (#59884) 2024-01-29 21:13:44 +00:00
cmd Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
codeintel cleanup: Remove 'Dump' terminology from backend (#61131) 2024-03-15 10:30:18 +08:00
codemonitors Cleanup internalapi after gRPC migration (#60572) 2024-02-19 14:13:26 +01:00
cody dotcom: MockSourcegraphDotComMode requires a T for cleanup (#61172) 2024-03-14 20:27:21 +00:00
codycontext all: update code paths as if qdrant is disabled (#60398) 2024-02-12 14:43:10 +02:00
codygateway Quickfix for attribution panics (#60465) 2024-02-13 12:51:50 +01:00
collections Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
comby Chore: remove some uses of log15 (#57519) 2023-10-10 16:27:52 -06:00
completions Cody: Update Azure OpenAI client and force api-version to a stable one (#61005) 2024-03-12 10:40:12 -04:00
compute search: use annotation IsContent for "content:" patterns (#60786) 2024-02-28 16:15:31 +00:00
conf dotcom: MockSourcegraphDotComMode requires a T for cleanup (#61172) 2024-03-14 20:27:21 +00:00
cookie
ctags_config site-config: Make symbols not required in syntaxHighlighting (#57276) 2023-10-16 19:53:19 -04:00
database dotcom: MockSourcegraphDotComMode requires a T for cleanup (#61172) 2024-03-14 20:27:21 +00:00
debugserver logger: update log lib and remove use of description (#57690) 2023-10-18 17:29:08 +02:00
deviceid
diskcache Simplify goroutine params (#61009) 2024-03-12 09:05:55 -07:00
diskusage source: display alert when gitserver disk usage exceeds 90% (#56562) 2023-09-15 01:39:07 +01:00
dotcom dotcom: MockSourcegraphDotComMode requires a T for cleanup (#61172) 2024-03-14 20:27:21 +00:00
download
embeddings dotcom: MockSourcegraphDotComMode requires a T for cleanup (#61172) 2024-03-14 20:27:21 +00:00
encryption encryption: Standardize envelope encryption (#56711) 2023-10-02 23:01:04 +02:00
endpoint Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
env Cleanup internalapi after gRPC migration (#60572) 2024-02-19 14:13:26 +01:00
errcode dotcom: don't lazy add repos with size >= 1GB && stars < 100 (#58553) 2023-12-05 16:30:32 +00:00
eventlogger Backend: remove unused LogEvent (#55464) 2023-08-02 19:30:44 +00:00
executor bazel: native go-mockgen in Bazel (#60386) 2024-02-16 13:26:48 +00:00
extsvc Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
featureflag bump to Go 1.22.1 (#60902) 2024-03-06 17:38:43 -07:00
fileutil Add additional logging for rename failures (#58458) 2023-11-21 14:55:00 +01:00
github_apps bazel: native go-mockgen in Bazel (#60386) 2024-02-16 13:26:48 +00:00
gitserver document the actual git command needed for ParseCommitGraph (#61132) 2024-03-14 17:46:19 +01:00
goroutine Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
gosyntect Revert "codeintel: Add symbols method to syntect client (#54633)" (#60008) 2024-01-31 13:10:32 +00:00
gqltestutil Docs: update links to point to new site (#60381) 2024-02-13 00:23:47 +00:00
gqlutil ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
grpc Simplify goroutine params (#61009) 2024-03-12 09:05:55 -07:00
guardrails Move dotcom check out of cmd/frontend (#60810) 2024-03-04 16:05:16 +00:00
hashutil
highlight Enables tree-sitter based locals references for Go (#59517) 2024-01-11 13:26:25 +00:00
honey honey: HONEYCOMB_LOCAL which logs events to stderr (#60670) 2024-02-23 07:19:21 +02:00
hostmatcher gomod: update or vendor buildkit, docker, hostmatcher and saml to resolve CVEs (#60130) 2024-02-05 13:14:15 +02:00
hostname
httpcli Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
httpserver bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
httptestutil Remove GitHub proxy service (#56485) 2023-09-14 19:43:40 +02:00
insights Remove watcher for permission mapper (#60809) 2024-03-12 23:12:36 +01:00
instrumentation chore: upgrade otel SDK packages (#59564) 2024-01-15 20:08:54 +00:00
inventory Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
jsonc ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
lazyregexp
license bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
licensing Move dotcom check out of cmd/frontend (#60810) 2024-03-04 16:05:16 +00:00
limiter Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
logging Docs: update links to point to new site (#60381) 2024-02-13 00:23:47 +00:00
luasandbox logger: update log lib and remove use of description (#57690) 2023-10-18 17:29:08 +02:00
mapfs Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
markdown
memo
metrics bazel: native go-mockgen in Bazel (#60386) 2024-02-16 13:26:48 +00:00
notebooks Chore: construct logger inside dbtest.NewDB (#57549) 2023-10-11 20:41:11 -05:00
oauthtoken Refactor ExternalAccountsStore functions (#57509) 2023-10-13 10:41:10 +02:00
oauthutil Remove global lock around GitHub.com requests (#58190) 2023-11-15 14:20:06 +01:00
observation Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
oobmigration cleanup: Remove 'Dump' terminology from backend (#61131) 2024-03-15 10:30:18 +08:00
opencodegraph Docs: update links to point to new site (#60381) 2024-02-13 00:23:47 +00:00
otlpenv
own Remove watcher for permission mapper (#60809) 2024-03-12 23:12:36 +01:00
packagefilters packages: move filter matching to postgres for name filter membership testing (#49940) 2023-06-16 16:46:45 +00:00
paths Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
perforce gitserver: Replace P4Exec endpoint with properly typed and individually tested RPC calls (#57247) 2023-10-09 15:06:49 +02:00
productsubscription telemetrygateway: add exporter and service (#56699) 2023-09-20 05:20:15 +00:00
profiler Move dotcom check out of cmd/frontend (#60810) 2024-03-04 16:05:16 +00:00
pubsub pubsub: add narrower TopicPublisher interface, ensure Stop in telemetry-gateway (#58974) 2023-12-14 12:32:48 -08:00
randstring Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
ratelimit Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
rbac dotcom: MockSourcegraphDotComMode requires a T for cleanup (#61172) 2024-03-14 20:27:21 +00:00
rcache Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
redislock bump to Go 1.22.1 (#60902) 2024-03-06 17:38:43 -07:00
redispool Remove unseen product-subscription tokens (#60585) 2024-02-20 13:37:27 +00:00
repos dotcom: MockSourcegraphDotComMode requires a T for cleanup (#61172) 2024-03-14 20:27:21 +00:00
repoupdater Remove HTTP for inter-service RPC (#59093) 2024-01-11 19:46:32 +01:00
requestclient Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
requestinteraction requestinteraction: add X-Sourcegraph-Interaction-ID propagation (#58016) 2023-11-22 20:09:39 +00:00
rockskip Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
sams [dotcom] add refresh token endpoint with sams authenticator (#60145) 2024-02-06 18:50:30 +05:30
sanitycheck Running binaries with SANITY_CHECK=true immediately exits with a code zero (#52186) 2023-05-19 12:30:11 +00:00
scim Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
search dotcom: MockSourcegraphDotComMode requires a T for cleanup (#61172) 2024-03-14 20:27:21 +00:00
searcher/v1 Searcher: return detected language (#60625) 2024-02-20 15:26:59 -08:00
security Remove dotcom specific gmail abuse check (#60837) 2024-03-05 15:14:03 +00:00
service Remove App from codebase (#59115) 2023-12-21 01:07:05 +01:00
session bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
settings Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
siteid bazel: first pass at moving moving logging linting into nogo (#58910) 2024-01-02 10:07:25 -08:00
slack
sourcegraphoperator Refactor ExternalAccountsStore functions (#57509) 2023-10-13 10:41:10 +02:00
src-cli v5.3.0 bake constants and static content (#60481) 2024-02-13 15:19:54 +00:00
src-prometheus Docs: update links to point to new site (#60381) 2024-02-13 00:23:47 +00:00
ssc Cleanup Cody Pro pre-feb release stuff (#60940) 2024-03-08 18:16:28 +05:30
suspiciousnames Move dotcom check out of cmd/frontend (#60810) 2024-03-04 16:05:16 +00:00
symbols Symbol search: support content-based lang detection (#60626) 2024-02-21 10:44:32 -08:00
sysreq ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
telemetry Remove dotcom specific gmail abuse check (#60837) 2024-03-05 15:14:03 +00:00
telemetrygateway telemetry-gateway: implement Managed Services receiver (#61022) 2024-03-15 18:51:54 +08:00
temporarysettings
testutil Compare JSON test output semantically instead of as strings. (#56667) 2023-09-15 09:08:44 -07:00
timeutil ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
trace search: consistent telemetry between honeycomb and tracing for zoekt (#60719) 2024-02-26 12:17:03 +02:00
tracer tracer/exporters: use internalerrs loggers on OTEL gRPC exporter (#60840) 2024-03-04 18:45:48 +00:00
ttlcache logger: update log lib and remove use of description (#57690) 2023-10-18 17:29:08 +02:00
txemail Cleanup internalapi after gRPC migration (#60572) 2024-02-19 14:13:26 +01:00
types Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
unpack ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
updatecheck release: sourcegraph@5.3.2 (#60979) 2024-03-08 17:25:04 -07:00
uploadhandler Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
uploadstore Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
usagestats Limit empty/zero data in json output from aggregate Cody ping data (#60937) 2024-03-07 11:56:17 -08:00
users logger: update log lib and remove use of description (#57690) 2023-10-18 17:29:08 +02:00
vcs hack: Add support for iap:// URLs (#59709) 2024-01-23 20:10:08 +01:00
version Docs: update links to point to new site (#60381) 2024-02-13 00:23:47 +00:00
webhooks/outbound bump to Go 1.22.1 (#60902) 2024-03-06 17:38:43 -07:00
workerutil worker: Fix test after go 1.22 upgrade (#61048) 2024-03-13 15:32:34 +01:00
wrexec wrexec: Don't panic when process state is nil (#57610) 2023-10-16 23:40:16 +02:00
buf.yaml
BUILD.bazel