Skip to content

Improve Observability documentation for Jmix 3 - #243

Merged
knstvk merged 9 commits into
release_3from
docs/observability-jmix3
Nov 18, 2026
Merged

knstvk merged 9 commits into
release_3from
docs/observability-jmix3

Conversation

@fractal3000

@fractal3000 fractal3000 commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Reworks the Observability section for Jmix 3 (English version).

features/observability.adoc becomes an overview: signals, Jmix-specific observations, how signals link to each other, production principles. Details move to new pages under features/observability/:

  • Metrics: Jmix timers and their tags, the legacy UI metrics schema, Prometheus and OTLP export, the Jmix 3 dashboards, alerts;
  • Tracing: Jmix spans and attributes, sampling, context propagation, spans of business operations;
  • Logging: levels and categories, MDC and jmixUser, trace IDs in log lines, SQL output, centralized collection;
  • Profiling: the Pyroscope agent, reading a Vaadin request profile, linking profiles to spans;
  • Performance Diagnostics: slow views, data access (N+1), remote calls, memory including a leak example, locks.

Other changes:

  • app-properties and ui-properties describe jmix.core.data-observation-enabled, jmix.core.use-user-info-for-observation, jmix.ui.ui-observation-enabled and jmix.ui.legacy-monitoring-enabled;
  • What's New 3.0 links to the new pages and properties;
  • the observability-ex1 example project holds the code included in the pages, with tests;
  • the navigation lists the new pages and the monitoring guide.

Images are kept to one per page (six in total). The text is self-contained: every fact shown on a figure is also stated in the text, and the example traces are given as text span trees, so readers and AI agents get the full content without images. The removed figures are deleted in separate commits; please squash-merge so that they do not reach the history of the target branch.

Merge order: the navigation and the pages link to the monitoring guide added in jmix-framework/jmix-observability-tracing-sample#2, and that guide links back to these pages. The two PRs should be merged close together. jmix-framework/jmix-observability-logging-sample#6 and jmix-framework/jmix-application-logging-sample#4 link to the new Logging page and go after this PR.

The Russian version will be a separate PR to release_3_ru.

See: #242

The text states what the removed figures showed.
The text states what the removed figures showed.
The text states what the removed figure showed and gives the span tree of the example trace.
The text states what the removed figures showed.
The text states what the removed figures showed and gives the span trees of the N+1 examples.
@fractal3000
fractal3000 requested a review from knstvk November 9, 2026 10:11
@fractal3000 fractal3000 linked an issue Nov 9, 2026 that may be closed by this pull request

@knstvk knstvk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing images:

[18:43:46.078] ERROR (asciidoctor): target of image not found: observability/metrics-dashboard-example.png
    file: /Users/knst/work/jmix/docs/jmix-docs/content/modules/features/pages/observability/metrics.adoc
    source: /Users/knst/work/jmix/docs/jmix-docs (refname: docs/observability-jmix3 <worktree>, start path: content)
[18:43:46.082] ERROR (asciidoctor): target of image not found: observability/metrics-drilldown.png
    file: /Users/knst/work/jmix/docs/jmix-docs/content/modules/features/pages/observability/metrics.adoc
    source: /Users/knst/work/jmix/docs/jmix-docs (refname: docs/observability-jmix3 <worktree>, start path: content)
[18:43:46.083] ERROR (asciidoctor): target of image not found: observability/metrics-exemplars.png
    file: /Users/knst/work/jmix/docs/jmix-docs/content/modules/features/pages/observability/metrics.adoc
    source: /Users/knst/work/jmix/docs/jmix-docs (refname: docs/observability-jmix3 <worktree>, start path: content)
[18:43:46.084] ERROR (asciidoctor): target of image not found: observability/dashboard-jmix-3-monitoring-loaders.png
    file: /Users/knst/work/jmix/docs/jmix-docs/content/modules/features/pages/observability/metrics.adoc
    source: /Users/knst/work/jmix/docs/jmix-docs (refname: docs/observability-jmix3 <worktree>, start path: content)
[18:43:46.084] ERROR (asciidoctor): target of image not found: observability/dashboard-jmix-3-monitoring-jvm.png
    file: /Users/knst/work/jmix/docs/jmix-docs/content/modules/features/pages/observability/metrics.adoc
    source: /Users/knst/work/jmix/docs/jmix-docs (refname: docs/observability-jmix3 <worktree>, start path: content)
[18:43:46.084] ERROR (asciidoctor): target of image not found: observability/dashboard-jmix-3-monitoring-active.png
    file: /Users/knst/work/jmix/docs/jmix-docs/content/modules/features/pages/observability/metrics.adoc
    source: /Users/knst/work/jmix/docs/jmix-docs (refname: docs/observability-jmix3 <worktree>, start path: content)
[18:43:46.085] ERROR (asciidoctor): target of image not found: observability/dashboard-jmix-3-full-observability.png
    file: /Users/knst/work/jmix/docs/jmix-docs/content/modules/features/pages/observability/metrics.adoc
    source: /Users/knst/work/jmix/docs/jmix-docs (refname: docs/observability-jmix3 <worktree>, start path: content)

The figures were deleted in the previous commit, but the page still
referenced them. The text now states what they showed.
@fractal3000

Copy link
Copy Markdown
Contributor Author

Fixed in b43c4cb. The previous commit deleted the figures from images/observability/ but left the references in metrics.adoc. The references are removed now, and the text describes what the figures showed. Your "Fix link titles" commit is kept as is.

@knstvk
knstvk merged commit 40f70b4 into release_3 Nov 18, 2026
1 check passed
@knstvk
knstvk deleted the docs/observability-jmix3 branch November 18, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve the Observability documentation for Jmix 3

2 participants