Skip to content

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

Closed

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions