storj/cmd/metabase-orphaned-segments
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
..
main_test.go cmd,private,satellite: add application_name to metabase connections 2022-02-20 22:29:41 +01:00
main.go cmd,private,satellite: add application_name to metabase connections 2022-02-20 22:29:41 +01:00