Skip to content

Commit

Permalink
Dashboard improvements v4
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobat committed Jan 29, 2025
1 parent 02dda9d commit 8ca58e1
Show file tree
Hide file tree
Showing 8 changed files with 1,174 additions and 197 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 7 additions & 5 deletions docs/src/main/asciidoc/observability-devservices-lgtm.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -163,19 +163,21 @@ image::observability-grafana-loki.png[alt=Dev UI LGTM, align=center,width=90%]

=== The dashboards

The Dev Service includes a set of dashboards for metrics.
The Dev Service includes a set of dashboards.

image::observability-grafana-dashboards.png[alt=Dev UI LGTM, align=center,width=90%]

Each dashboard is tuned for the specific application setup. The available dashboards are:

* *Quarkus Micrometer Metrics - OTLP*: to be used with the Micrometer OTLP registry extension
* *Quarkus Micrometer Metrics - Prometheus*: to be used with the Micrometer Prometheus registry extension.
* *Quarkus Micrometer OpenTelemetry*: to be used with the Micrometer to OpenTelemetry bridge extension.
* *Quarkus Micrometer OpenTelemetry*: to be used with the Micrometer and OpenTelemetry extension.
* *Quarkus Micrometer OTLP registry*: to be used with the Micrometer OTLP registry extension.
* *Quarkus Micrometer Prometheus registry*: to be used with the Micrometer Prometheus registry extension.
* *Quarkus OpenTelemetry Logging*: to view logs coming from the OpenTelemetry extension.


[NOTE]
====
Some panels in the dashboards might take a few minutes to show data when their values are calculated over a sliding window of time.
Some panels in the dashboards might take a few minutes to show accurate data when their values are calculated over a sliding time window.
====

=== Additional configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ public class LgtmContainer extends GrafanaContainer<LgtmContainer, LgtmConfig> {
apiVersion: 1
providers:
- name: "Quarkus Micrometer Prometheus"
- name: "Quarkus Micrometer Prometheus registry"
type: file
options:
path: /otel-lgtm/grafana-dashboard-quarkus-micrometer-prometheus.json
foldersFromFilesStructure: false
- name: "Quarkus Micrometer with OTLP output"
- name: "Quarkus Micrometer OTLP registry"
type: file
options:
path: /otel-lgtm/grafana-dashboard-quarkus-micrometer-otlp.json
Expand All @@ -76,6 +76,11 @@ public class LgtmContainer extends GrafanaContainer<LgtmContainer, LgtmConfig> {
options:
path: /otel-lgtm/grafana-dashboard-quarkus-micrometer-opentelemetry.json
foldersFromFilesStructure: false
- name: "Quarkus OpenTelemetry logging"
type: file
options:
path: /otel-lgtm/grafana-dashboard-opentelemetry-logging.json
foldersFromFilesStructure: false
""";

public LgtmContainer() {
Expand All @@ -99,6 +104,10 @@ public LgtmContainer(LgtmConfig config) {
withCopyFileToContainer(
MountableFile.forClasspathResource("/grafana-dashboard-quarkus-micrometer-opentelemetry.json"),
"/otel-lgtm/grafana-dashboard-quarkus-micrometer-opentelemetry.json");
withCopyFileToContainer(
MountableFile.forClasspathResource("/grafana-dashboard-opentelemetry-logging.json"),
"/otel-lgtm/grafana-dashboard-opentelemetry-logging.json");

addFileToContainer(getPrometheusConfig().getBytes(), "/otel-lgtm/prometheus.yaml");

}
Expand Down
Empty file.
Loading

0 comments on commit 8ca58e1

Please sign in to comment.