fix: harden typed metrics review findings

This commit is contained in:
bsodfather committed 2026-08-14 13:50:04 +03:00
1 parent 996a5461de
commit b7face0e94
30 files changed
+722 -382

No files matched your search

+3 -5
View File
@@ -9,9 +9,7 @@ mod labels;
mod record;
mod schema;
pub use exemplar::{
ExemplarObservation, ExemplarTraceId, exemplar_snapshot, reset_exemplars_for_test,
};
pub use exemplar::{ExemplarObservation, ExemplarTraceId, exemplar_snapshot};
pub use labels::{
CacheOutcome, ConfirmationOutcome, DbPoolState, Exporter, HttpMethod, HttpRoute,
HttpStatusClass, IdempotencyOutcome, InvocationSource, LimitStage, McpMethod, McpOutcome,
@@ -32,6 +30,6 @@ pub use schema::{
MAX_LOGICAL_SERIES_PER_PROCESS, MAX_METRIC_FAMILIES, MAX_PRODUCT_LABELS_PER_FAMILY,
MAX_RENDERED_SERIES_PER_PROCESS, METRIC_SCHEMA_VERSION, MetricDefinition, MetricKind,
MetricProcess, MetricService, MetricUnit, PROCESS_CONSTANT_LABELS, SchemaBudget, SchemaError,
max_exemplar_slots, metric_schema, render_metric_schema_json, schema_budget, validate_budget,
validate_schema,
max_exemplar_slots, metric_schema, metric_schema_for_service, render_metric_schema_json,
schema_budget, validate_budget, validate_schema,
};