Skip to content

Add telemetry tracking with unique rule/diagnostic IDs for validation #7114

Description

@vhvb1989

Context

Follow-up from PR #7053 review. Parent tracking issue: #7112

PR Conversations

What needs to change

  1. Add telemetry to track:
    • Validation success vs failure counts
    • Which checks are failing
    • User action (yes/no) after warnings/errors
  2. Create unique IDs for rules (for crash tracking in telemetry) and diagnostics (for error tracking, so we can correlate actioned warnings with drops in errors).
  3. Consider merging rule/diagnostic concept with Wallace's error concept into a unified ValidationRule.

Files to update

  • cli/azd/pkg/infra/provisioning/bicep/local_preflight.go (rule registration)
  • cli/azd/pkg/infra/provisioning/bicep/bicep_provider.go (telemetry emission)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

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