-
Type:
New Feature
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
DB Integration & Observability
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Overview
End-to-end test for the metrics codegen (epic SPM-4962, split from SERVER-138331). Depends on SERVER-138331 and SERVER-138330.
Scope
- src/mongo/observability/metrics_codegen_test.cpp with fixture codegen_test_metrics.idl (namespace mongo::observability::codegen_test): every kind, the optional and cache_exclusive wrappers, and a group.
- metrics_sections.idl (empty section catalog) and hand-written metrics_section_description.h.
- idl_generator bazel targets in src/mongo/observability/BUILD.bazel.
Tests
bazel test //src/mongo/observability:metrics_codegen_test passes.
- is blocked by
-
SERVER-138331 Codegen to create metrics structs (<file>_metrics_gen.h/cpp and metrics_sections.idl)
-
- In Code Review
-