sourcegraph/cmd
Keegan Carruthers-Smith 0bd49c4540
searcher: prefix all prometheus variables with metric (#36161)
This is a pattern we started using a while ago, but the code in searcher
predates that. This was done via gopls doing renames.

Test Plan: go test

Accidently squashed merged into this commit, for convenience just combinging:

* searcher: prometheus gauge for SEARCHER_CACHE_SIZE_MB (#36162)

This is to allow us to create a dashboard which includes the configured
maximum size of the cache or make a percentage of cache used. This will
make it easier to check admin configurations, since we don't need to
check the configuration we can just check the dashboard.

Test Plan: started locally and checked the value of
searcher_store_max_cache_size_bytes in the metrics page for searcher.
2022-05-30 11:36:14 +00:00
..
frontend Search backend: a better multiline type (#36124) 2022-05-27 12:52:18 -06:00
github-proxy all: use alpine-3.14 (#34508) 2022-05-04 11:41:54 +02:00
gitserver gitserver: Upgrade p4-fusion to 1.9 (#36156) 2022-05-30 12:52:35 +02:00
loadtest all: use any instead of interface{} (#35102) 2022-05-09 10:59:39 +02:00
migrator sg: Use git as source of truth for sg migration drift (#35822) 2022-05-20 18:36:45 +00:00
repo-updater refactor(repo-updater): migrate Syncer to use lib/log (#36089) 2022-05-26 19:21:08 +02:00
searcher searcher: prefix all prometheus variables with metric (#36161) 2022-05-30 11:36:14 +00:00
server bump comby version to 1.7.1 (#35830) 2022-05-20 20:12:01 -07:00
sitemap all: use any instead of interface{} (#35102) 2022-05-09 10:59:39 +02:00
symbols squirrel: Add boilerplate for tree-sitter traversals (#35440) 2022-05-16 09:31:00 -06:00
worker move repomatcher background job to new job skeleton (#36128) 2022-05-26 21:48:58 -04:00