-
Notifications
You must be signed in to change notification settings - Fork 873
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add checkpoint and multiple subscriber options
- Loading branch information
Showing
10 changed files
with
155 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
.../src/main/java/io/opentelemetry/instrumentation/reactor/ReactorAsyncOperationOptions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* Copyright The OpenTelemetry Authors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package io.opentelemetry.instrumentation.reactor; | ||
|
||
public final class ReactorAsyncOperationOptions { | ||
private final boolean captureExperimentalSpanAttributes; | ||
private final boolean emitCheckpoints; | ||
private final boolean traceMultipleSubscribers; | ||
|
||
ReactorAsyncOperationOptions( | ||
boolean captureExperimentalSpanAttributes, | ||
boolean emitCheckpoint, | ||
boolean traceMultipleSubscribers) { | ||
this.captureExperimentalSpanAttributes = captureExperimentalSpanAttributes; | ||
this.emitCheckpoints = emitCheckpoint; | ||
this.traceMultipleSubscribers = traceMultipleSubscribers; | ||
} | ||
|
||
public boolean captureExperimentalSpanAttributes() { | ||
return captureExperimentalSpanAttributes; | ||
} | ||
|
||
public boolean emitCheckpoints() { | ||
return emitCheckpoints; | ||
} | ||
|
||
public boolean traceMultipleSubscribers() { | ||
return traceMultipleSubscribers; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.