Skip to content

MIGRATION_A365.md: missing enableConsoleExporters in local validation section #112

@fpfp100

Description

@fpfp100

Summary

The migration guide's local validation section (section 14) mentions setting ENABLE_A365_OBSERVABILITY_EXPORTER=false to export spans to the console, but doesn't show how to explicitly enable the console exporter with enableConsoleExporters: true.

Issue

The validation section says:

Set ENABLE_A365_OBSERVABILITY_EXPORTER=false to export spans to the console for local validation.

This relies on the auto-enable behavior (console auto-enables when no other exporter is active). But if the user has Azure Monitor or OTLP configured, console won't auto-enable and they'll see nothing locally.

The guide should explicitly show:

useMicrosoftOpenTelemetry({
  enableConsoleExporters: true,
  a365: {
    enabled: true,
    tokenResolver: myResolver,
  },
});

And explain that enableConsoleExporters: true forces console output regardless of other exporters being active.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions