storj/satellite/metabase/metabasetest
Stefan Benten 321bf26c85
cmd,private,satellite: add application_name to metabase connections
Currently the metainfo/metabase DB connections are missing the proper
application_name in order to differentiate and filter queries on the DB
side for analytics.
Without it, it is very time-consuming to correlate processes and their load.

This change adds the "check" on DB connection init and passes the fallbacks
in all places to catch connection strings, that do not set it.

Change-Id: Iea5cea8658bc63778ff89038e5c1c352bf482cfd
2022-02-20 22:29:41 +01:00
..
common.go satellite/metabasetest: include copies in raw state. 2022-02-18 12:48:42 +00:00
create.go satellite/metabase: BeginCopyObject and FinishCopyObject 2022-02-17 13:37:39 +01:00
defaults.go Revert "satellite/metabase: use storj.Nonce instead []byte" 2021-10-12 15:39:54 +02:00
invalid.go satellite/metabase/metabasetest: move test utils to a separate package 2021-04-26 13:12:58 +03:00
run_test.go satellite/metabase/metabasetest: move test utils to a separate package 2021-04-26 13:12:58 +03:00
run.go cmd,private,satellite: add application_name to metabase connections 2022-02-20 22:29:41 +01:00
test.go satellite/metabase: BeginCopyObject and FinishCopyObject 2022-02-17 13:37:39 +01:00