We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f73f12 commit 07f01c3Copy full SHA for 07f01c3
context/src/main/java/io/opentelemetry/context/ContextKey.java
@@ -16,7 +16,7 @@
16
* private static final ContextKey<MyState> KEY = ContextKey.named("MyState");
17
*
18
* public Context startWork() {
19
- * return Context.withValues(KEY, new MyState());
+ * return Context.with(KEY, new MyState());
20
* }
21
22
* public void continueWork(Context context) {
0 commit comments