storj/cmd/uplink
Márton Elek 26444194c2 uplink: fix distributed tracing reporter
This patch fix the beavior of the distributed tracing reporter.

1. For developer build we don't append the date
 * We don't need to separate service instances in jaeger (search by trace ID)
 * It's usually 0000-00-000 anyway as release.sh is not used for dev builds

2. Tracing ID MUST be unique
 * Instead of trusting the user to set a unique value (how can they do it?), we generate a random number

3. To make it possible to find the trace, there is a new flag to print out the generated tracing ID

4. Monkit `remoteTrace` call is replaced with normal monkit Task.
 * remoteTrace call assumes that we have a parent span in an other service (which is already sent to the server)
 * Here we must send out the parent span, as this is the beginning of the trace

5. We properly close the Jaeger UDP collector, and we wait until remaining messages are sent out

Change-Id: Iabf5abf25f4f20881188f88edcbadca95ac74927
2022-09-13 14:36:41 +00:00
..
cmd cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
ulext go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
ulfs go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
ulloc cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
ultest go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
access_maker.go go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
access_permissions.go cmd/uplink: Fix typo in flag description 2022-06-21 11:55:02 -06:00
cmd_access_create.go go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
cmd_access_export.go go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
cmd_access_import.go go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
cmd_access_inspect_test.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
cmd_access_inspect.go go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
cmd_access_list.go go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
cmd_access_register.go go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
cmd_access_remove.go go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
cmd_access_restrict.go go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
cmd_access_revoke.go go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
cmd_access_setup.go go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
cmd_access_use.go go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
cmd_cp_test.go cmd/uplink: bring back --metadata for cp command 2022-05-18 15:58:53 +00:00
cmd_cp.go go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
cmd_ls_test.go cmd/uplink: fix recursive copy and improve tests 2022-05-11 15:17:16 -04:00
cmd_ls.go go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
cmd_mb.go go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
cmd_meta_get.go go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
cmd_mv_test.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
cmd_mv.go go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
cmd_rb.go go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
cmd_rm_test.go cmd/uplink: disable deleting local files 2022-06-27 10:30:04 -04:00
cmd_rm.go go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
cmd_share_test.go cmd/uplinkng: fix linkshare bugs 2022-03-03 16:00:10 +00:00
cmd_share.go go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
cmd_version.go go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
external_access.go go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
external_config.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
external_migrate.go cmd/uplink: fix migration for some old configs 2022-02-16 21:13:52 +00:00
external_project.go cmd/uplink: fix recursive copy and improve tests 2022-05-11 15:17:16 -04:00
external.go uplink: fix distributed tracing reporter 2022-09-13 14:36:41 +00:00
initial_setup.go go.mod: bump clingy dependency 2022-08-31 10:24:27 +00:00
main.go cmd/uplink: experimental environment variable to change piece hash algorithm 2022-09-08 10:41:04 +00:00
stdlib_flags_test.go storagenode/console/consoleapi: use fixed time.Now() 2022-07-01 12:36:01 +03:00
stdlib_flags.go cmd/uplink: bring back --metadata for cp command 2022-05-18 15:58:53 +00:00
tabbed_writer.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
ulimit_other.go cmd/uplink: raise fd limits 2022-04-27 18:11:44 +00:00
ulimit.go cmd/uplink: raise fd limits 2022-04-27 18:11:44 +00:00