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
Now during build the `quarkus.swagger-ui.always-include` will be generated into the resulting jar and `http://0.0.0.0:8080/q/swagger-ui` will be available when run.
400
+
NOTE: The path to the `application.properties` and `application.yaml` files are relative to the script file.
You can use the xref:./qute.adoc[Qute templating engine] in your JBang script by adding the `quarkus-qute` dependency.
457
+
You also need to include the `templates` directory in the script:
458
+
[source,java]
459
+
----
460
+
//DEPS io.quarkus:quarkus-qute
461
+
//FILES templates/=templates/*
462
+
463
+
// ...
464
+
465
+
@Inject
466
+
Template template; // Locate and load the `templates/template.html` file
467
+
----
468
+
469
+
If your `templates` directory includes sub-directories, use `templates/=templates/**/*` instead.
470
+
443
471
=== Conclusion
444
472
445
473
If you want to get started with Quarkus or write something quickly, Quarkus Scripting with jbang lets you do that. No Maven, no Gradle - just a Java file. In this guide we outlined the very basics on using Quarkus with JBang; if you want to learn more about what JBang can do, go see https://jbang.dev.
Copy file name to clipboardExpand all lines: _versions/main/guides/telemetry-micrometer.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -179,7 +179,7 @@ Given the following declaration of a timer: `registry.timer("http.server.request
179
179
=== Define dimensions for aggregation
180
180
181
181
Metrics, single numerical measurements, often have additional data captured with them. This ancillary data is used to group or aggregate metrics for analysis.
182
-
The Micrometer API refers to this dimensional data as tags, but you may it referred to as "labels" or "attributes" in other documentation sources.
182
+
The Micrometer API refers to this dimensional data as tags, but you may see it referred to as "labels" or "attributes" in other documentation sources.
183
183
184
184
Micrometer is built primariliy for backend monitoring systems that support dimensional data (metric names that are enchriched with key/value pairs).
185
185
For heirarchical systems that only support a flat metric name, Micrometer will flatten the set of key/value pairs (sorted by key) and add them to the name.
0 commit comments