-
Notifications
You must be signed in to change notification settings - Fork 286
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
Reconsider the dependency on OpenCensus #279
Comments
Hey @yegle - the instrumentation (metrics and tracing) is built on OC, so we do need it. The kafka client is...surprising. I'm guessing it's a (or part of a?) supported export format. |
Hi @yegle ! We try hard to keep dependencies as limited as possible so thanks for brining this up. So my understanding is -- and unfortunately I can't find the documentation definitively saying so -- is that dependencies pulled from → go mod why -m github.com/Shopify/sarama
# github.com/Shopify/sarama
(main module does not need module github.com/Shopify/sarama) vs → go mod why -m github.com/prometheus/client_golang
# github.com/prometheus/client_golang
github.com/pomerium/pomerium/internal/telemetry/metrics
github.com/prometheus/client_golang/prometheus Direct dependencies:
Did you have any concerns about this package in particular? Thanks! See also: |
@yegle ping :) |
Hmm, I think you are right. There's no indication the sarama package is actually part of the Pomerium binary:
|
The dependency on OpenCensus implicitly pulled in https://github.com/Shopify/sarama.
We should reconsider if the dependency on OpenCensus is necessary.
The text was updated successfully, but these errors were encountered: