You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If empty, default roles are assigned: `alice` receives `admin` and `user` roles, while other users receive `user` role. This map is used for role creation when no realm file is found at the `realm-path`.
12013
+
If empty, default roles are assigned: user `alice` receives `admin` and `user` roles and user `bob` receives role `user`.
If empty, default roles are assigned: `alice` receives `admin` and `user` roles, while other users receive `user` role. This map is used for role creation when no realm file is found at the `realm-path`.
41
+
If empty, default roles are assigned: user `alice` receives `admin` and `user` roles and user `bob` receives role `user`.
If empty, default roles are assigned: `alice` receives `admin` and `user` roles, while other users receive `user` role. This map is used for role creation when no realm file is found at the `realm-path`.
41
+
If empty, default roles are assigned: user `alice` receives `admin` and `user` roles and user `bob` receives role `user`.
Copy file name to clipboardExpand all lines: _versions/main/guides/config-mappings.adoc
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -233,11 +233,11 @@ server.theHost=localhost
233
233
server.thePort=8080
234
234
----
235
235
236
-
The `@ConfigMapping` annotation support the following naming strategies:
236
+
The `@ConfigMapping` annotation support the following naming strategies with the following enum values:
237
237
238
-
- `KEBAB_CASE` (default) - The method name is derived by replacing case changes with a dash to map the configuration property.
239
-
- `VERBATIM` - The method name is used as is to map the configuration property.
240
-
- `SNAKE_CASE` - The method name is derived by replacing case changes with an underscore to map the configuration property.
238
+
- `KEBAB_CASE` (default) - The method name is derived by replacing case changes with a dash to map the configuration property, i.e. `theHost` maps to `the-host`.
239
+
- `VERBATIM` - The method name is used as is to map the configuration property, i.e. `theHost` maps to `theHost`.
240
+
- `SNAKE_CASE` - The method name is derived by replacing case changes with an underscore to map the configuration property, i.e. `theHost` maps to `the_host`.
Copy file name to clipboardExpand all lines: _versions/main/guides/opentelemetry-tracing.adoc
+54Lines changed: 54 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -526,6 +526,60 @@ public void tracedWork() {
526
526
}
527
527
----
528
528
529
+
=== Mutiny
530
+
Methods returning reactive types can also be annotated with `@WithSpan` and `@AddingSpanAttributes` to create a new span or add attributes to the current span.
531
+
532
+
If you need to create spans manually within a mutiny pipeline, use `wrapWithSpan` method from `io.quarkus.opentelemetry.runtime.tracing.mutiny.MutinyTracingHelper`.
533
+
534
+
Example. Assuming you have the following pipeline:
535
+
[source,java]
536
+
----
537
+
Uni<String> uni = Uni.createFrom().item("hello")
538
+
//start trace here
539
+
.onItem().transform(item -> item + " world")
540
+
.onItem().transform(item -> item + "!")
541
+
//end trace here
542
+
.subscribe().with(
543
+
item -> System.out.println("Received: " + item),
544
+
failure -> System.out.println("Failed with " + failure)
0 commit comments