Skip to content
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

Instrumentation for rxjava3.1.1 #4954

Merged
merged 4 commits into from
Jan 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
plugins {
id("otel.library-instrumentation")
}

dependencies {
library("io.reactivex.rxjava3:rxjava:3.0.12")
implementation(project(":instrumentation-api-annotation-support"))
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
import io.reactivex.rxjava3.disposables.Disposable;
import io.reactivex.rxjava3.internal.disposables.DisposableHelper;

class TracingCompletableObserver implements CompletableObserver, Disposable {
public class TracingCompletableObserver implements CompletableObserver, Disposable {

private final CompletableObserver actual;
private final Context context;
private Disposable disposable;

TracingCompletableObserver(CompletableObserver actual, Context context) {
public TracingCompletableObserver(CompletableObserver actual, Context context) {
this.actual = actual;
this.context = context;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
import io.reactivex.rxjava3.disposables.Disposable;
import io.reactivex.rxjava3.internal.disposables.DisposableHelper;

class TracingMaybeObserver<T> implements MaybeObserver<T>, Disposable {
public class TracingMaybeObserver<T> implements MaybeObserver<T>, Disposable {

private final MaybeObserver<T> actual;
private final Context context;
private Disposable disposable;

TracingMaybeObserver(MaybeObserver<T> actual, Context context) {
public TracingMaybeObserver(MaybeObserver<T> actual, Context context) {
this.actual = actual;
this.context = context;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
import io.reactivex.rxjava3.disposables.Disposable;
import io.reactivex.rxjava3.internal.disposables.DisposableHelper;

class TracingSingleObserver<T> implements SingleObserver<T>, Disposable {
public class TracingSingleObserver<T> implements SingleObserver<T>, Disposable {

private final SingleObserver<T> actual;
private final Context context;
private Disposable disposable;

TracingSingleObserver(SingleObserver<T> actual, Context context) {
public TracingSingleObserver(SingleObserver<T> actual, Context context) {
this.actual = actual;
this.context = context;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ dependencies {

api("io.reactivex.rxjava3:rxjava:3.0.12")

implementation("io.opentelemetry:opentelemetry-extension-annotations")
implementation("com.google.guava:guava")

implementation("org.codehaus.groovy:groovy-all")
implementation("io.opentelemetry:opentelemetry-api")
implementation("org.spockframework:spock-core")
Expand Down
Loading