Giter VIP home page Giter VIP logo

java-api-extensions's People

Contributors

fatroom avatar objectiser avatar whiskeysierra avatar yurishkuro avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

java-api-extensions's Issues

Release 0.5.0 not available in maven central

From the releases page here and tags I see that release 0.5.0 was created, but this release was not published to maven central, so it's not available to users. Can you publish it?

Define a Filter API

As discussed in #3 (comment) it would be good to have an interceptor mechanism between OpenTracing framework integrations, which capture span information, and the Tracer which is responsible for recording the span data.

These interceptors may be used to apply application/service specific logic to modifying the tags/log events being recorded or potential suppress the values.

IllegalArgumentException when using with Brave Tracer

When using the extensions with brave-opentracing I'm getting an IllegalArgumentException when APIExtensionsSpanBuilder#startActive is called:

java.lang.IllegalArgumentException: Span must be an instance of brave.opentracing.BraveSpan, but was class io.opentracing.contrib.api.tracer.APIExtensionsSpan
	at brave.opentracing.BraveScopeManager.activate(BraveScopeManager.java:75) ~[brave-opentracing-0.31.1.jar:na]
	at brave.opentracing.BraveScopeManager.activate(BraveScopeManager.java:26) ~[brave-opentracing-0.31.1.jar:na]
	at io.opentracing.contrib.api.tracer.APIExtensionsSpanBuilder.startActive(APIExtensionsSpanBuilder.java:120) ~[opentracing-api-extensions-tracer-0.1.0.jar:na]
	at io.opentracing.contrib.web.servlet.filter.TracingFilter.doFilter(TracingFilter.java:156) ~[opentracing-web-servlet-filter-0.1.0.jar:na]

To fix this the BraveScopeManager should be called with the original span instead of the APIExtensionsSpan version.

Rename repository to reflect wider scope than just observer API

As discussed in this thread (#3 (comment)) we should rename this repo to something more appropriate to cover observer and filter API.

java-patterns - too generic
java-tracer-decorator and java-tracer-wrapper - I think these are too implementation specific, and focus just on the wrapping/decorator rather than on the APIs
java-api-extensions and java-tracer-extensions - these are in the right direction, wonder if a truncated form would work - e.g. java-ext

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.