For AI agents: the complete documentation index is available at https://mfdoctor.kevinbeier.com/1.0.0/llms.txt, the full documentation bundle is available at https://mfdoctor.kevinbeier.com/1.0.0/llms-full.txt, and this page is available as Markdown at https://mfdoctor.kevinbeier.com/1.0.0/rules/config/observability-plugin-recommended.md.

config/observability-plugin-recommended

  • Category: tooling
  • Default severity: info

Issue

Module Federation 2.5+ projects can opt into runtime health correlation, but a declared Observability Plugin is ineffective until its runtime entry is registered. The default nudge requires the package to be present; the production profile can recommend it for every supported federated surface.

How to fix it

Add @module-federation/observability-plugin and register its browser/runtime entry through runtimePlugins or the runtime plugins option. The build-only /build entry does not provide runtime reporting. Use off or a fingerprint baseline when this environment intentionally does not collect runtime reports.

Suppress or retarget with rules["config/observability-plugin-recommended"] set to "off" or a severity — see Suppressions and allowlists.

Sources