opentracing-contrib / meta

A meta-repository for OpenTracing contributions
Apache License 2.0
35 stars 16 forks source link

Java web filter instrumentation #3

Closed pavolloffay closed 7 years ago

pavolloffay commented 7 years ago

Hello,

I would like to contribute java filter 1 instrumentation. The codebase would be probably very small (one, two classes). Could we consider move it to 2? I have also some work going on for spring instrumentation It's again very small repo.

bhs commented 7 years ago

@pavolloffay thanks!

The filter instrumentation sounds :100:. Moving it to https://github.com/opentracing-contrib/java-jaxrs seems at odds with the name java-jaxrs since this piece would be more general. We could either do a micro-repo or establish something like java-misc, java-core, java-basics or something like that...

pavolloffay commented 7 years ago

I'm for:

bhs commented 7 years ago

@pavolloffay so maybe we rename java-jaxrs as java-jdk (I can't think of a better name for the standard libs included with Java, can you?), then move this instrumentation over there. Thoughts?

pavolloffay commented 7 years ago

The question is if we want to aim all java standard instrumentations (se, ee, me) (I'm wondering whether there would be some instrumentation for java se, me).

@yurishkuro @wu-sheng

yurishkuro commented 7 years ago

my 2c - don't go for generic names, stick with micro-repos (unless there's large overhead with publishing micro-repos)

pavolloffay commented 7 years ago

I'm fine with micro repo.

On Tue, Jan 10, 2017 at 7:08 PM, Yuri Shkuro notifications@github.com wrote:

my 2c - don't go for generic names, stick with micro-repos (unless there's large overhead with publishing micro-repos)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/opentracing-contrib/meta/issues/3#issuecomment-271651669, or mute the thread https://github.com/notifications/unsubscribe-auth/AFW6-FSN_JOLQRQM1nI6JrCywtv2-kDVks5rQ8k7gaJpZM4LeKii .

wu-sheng commented 7 years ago

+1 micro-repos.

All in one, like java-ee or java-jdk is not easy to understand, and hard to tell the diff from other contrib in java-platform.

pavolloffay commented 7 years ago

Here is the repo for web-filter. https://github.com/pavolloffay/opentracing-java-web-servlet-filter

bhs commented 7 years ago

The main per-repo overhead (IMO) is the silly but incredibly useful TravisCI maven stuff, per https://github.com/opentracing-contrib/java-globaltracer/pull/6/files and similar.

Also, in addition to repos, we need to figure out artifact naming. See https://github.com/opentracing-contrib/java-globaltracer/pull/6/files#r95784904 for context.

@pavolloffay @sjoerdtalsma looking at https://github.com/opentracing-contrib/java-globaltracer/pull/6/files#diff-600376dffeb79835ede4a0b285078036R24 to make this concrete: io.opentracing.contrib. seems like an obvious prefix. I could imagine all contrib artifacts cohabitating in that namespace (i.e., without additional qualifiers like .globaltracer.foo), XOR we can do io.opentracing.contrib.globaltracer.opentracing-globaltracer, but that feels a lot like stuttering to me.

bhs commented 7 years ago

@pavolloffay https://github.com/opentracing-contrib/java-web-servlet-filter/invitations

sjoerdtalsma commented 7 years ago

@bensigelman ok, I'll change io.opentracing.contrib.globaltracer:opentracing-globaltracer maven artifact to io.opentracing.contrib:opentracing-globaltracer in the PR you mentioned above. (https://github.com/opentracing-contrib/java-globaltracer/pull/6)

bhs commented 7 years ago

@sjoerdtalsma sounds good, thanks.

pavolloffay commented 7 years ago

I'm closing it. It is released and referenced from /meta.