-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify config #329
Simplify config #329
Conversation
I have this in my oCIS config file:
which works... |
Accounts service doesn't have a tracing config so far. |
@refs would be nice to get your opinion on this... also: needs a rebase |
rebased + added jaeger endpoint and collector as default values |
but proxy is still not sending spans, tracked in https://github.com/owncloud/ocis-proxy/issues/61 |
cfg.Proxy.Tracing.Service = cfg.Tracing.Service | ||
} | ||
|
||
if cfg.Reva.Reva.JWTSecret != "" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might want to look at this struct. cfg.Reva.Reva
seems redundant. Issue for another time :)
4d9212e
to
ded9a01
Compare
rebased to current master. |
With this PR, the
OCIS_TRACING_*
config variables become the global config for all services. If you want to set individual tracing config for each service, setOCIS_TRACING_ENABLED=false
(which is the default) and configure tracing for all services individually.Tracing documentation updated as well, to reflect both different usages (global config and per-service config).
Implementation for owncloud/product#92