Enhancement: Tracing agent configuration

Earlier we could only use the collector URL directly, but since an agent can be deployed as a sidecar process it makes much more sense to use it instead of the collector directly.

https://github.com/cs3org/reva/pull/2029