question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

shouldn't have a hard-dependency on a <1.0 api

See original GitHub issue

Even when not using tracing, opencensus 0.18 types are required per this line in HttpRequest

  /** OpenCensus tracing component. */
private final Tracer tracer = OpenCensusUtils.getTracer();

grpc code is more defensive to not require loading classes until used.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
codefromthecryptcommented, Sep 25, 2019

why is this a question and not a bug?

0reactions
elharocommented, Dec 12, 2019

If we’re not ripping out OpenCensus, we might want to at least exclude the paths to it’s older dependencies, especially Guava:

+-c:qa:0.1.0-SNAPSHOT
  +-com.google.api:gax:1.51.0
    +-com.google.auth:google-auth-library-oauth2-http:0.18.0
      +-com.google.http-client:google-http-client:1.32.1
        +-com.google.guava:guava:28.1-android
and
+-c:qa:0.1.0-SNAPSHOT
  +-com.google.api:gax:1.51.0
    +-com.google.auth:google-auth-library-oauth2-http:0.18.0
      +-com.google.http-client:google-http-client:1.32.1
        +-io.opencensus:opencensus-contrib-http-util:0.24.0
          +-com.google.guava:guava:26.0-android

see https://github.com/googleapis/gax-java/issues/662

Read more comments on GitHub >

github_iconTop Results From Across the Web

Should You Use Upper Bound Version Constraints?
First, if you are writing a library, your “users” are specifying your package in their dependencies; if an update breaks them, they can...
Read more >
Should domain objects have dependencies injected into them?
The selected answer has stated: "factories should not be tied with dependency injection because domain objects shouldn't have dependencies ...
Read more >
Dependency on specific Newtonsoft.Json package version ...
The latest version 1.0.2 of Microsoft.NET.Sdk.Functions has a specific Newtonsoft.Json package dependency = 9.0.1.
Read more >
Avoiding dependency hell with Gradle 6
Dependency hell is a big problem for many teams. The larger the project and its dependency graph, the harder it is to maintain...
Read more >
JavaScript Dependencies: Everything You Ever Wanted to ...
js or a front-end developer using Node.js only as a tool for your packaging and bundling needs, you've surely come across the concept...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found