Open kulmann opened 4 years ago
we need this for support and debbuging ourself
bonus points for
Remote key is https://jira.owncloud.com/browse/OC-2016
We also need a way to dynamically increase the level of tracing for a specific user, group, user agent, role ...
Idea / Context
As of now tracing has to be configured for every service individually. While this follows configuration standards for microservices, it would be nice for ocis single binary to forward a single tracing configuration to all services. This is something that we already do for logging.
Implementation
Have a look at the accounts command in ocis single binary: https://github.com/owncloud/ocis/blob/323ca3039e19f857d03957f8e09a6635badeb53e/pkg/command/accounts.go#L30
It sets the log config flags from ocis as the respective accounts config flags:
We can do the same thing for tracing.