Repository navigation
fix(telemetry): preserve model-loading Prometheus metric name - #784
Conversation
|
Found 1 test failure on Blacksmith runners: Failure
|
|
Test-only follow-up 2769dff addresses the collector fixture startup failure in CI39029792443. The private pytest directory is now accessed as its owning UID:GID instead of UID0 with all capabilities dropped. The existing15-second readiness wait, CPU/memory/PID limits, capability drop, read-only root, loopback ports and no-pull policy are unchanged. Startup failure now retains exact-container status and the last20 log lines before cleanup, with five-second diagnostic command deadlines and4096characters retained per command. Malformed diagnostic text cannot replace the original failure. The previous container logs were not retained, so this fixes the verified fixture ownership incompatibility without claiming the exact original startup error was captured. Root validation:13focused tests passed, including the pinned0.119.0 collector wire check; lock, Ruff and diff checks pass. All production changes remain the same four contract/template lines. Fresh CI39031680580 and current-head review are pending. |
Summary
Preserve the existing
sie_gateway_model_loads_in_progressPrometheus family used by the chart's KEDA queries.The canonical gauge uses unit
1. The pinned OpenTelemetry Collector 0.119.0 adds_ratiofor that dimensionless gauge, so its exported name does not match the existing unsuffixed KEDA query. Clear the unit only in the local Prometheus compatibility transform, alongside the existing pinned-model compatibility override. The producer and remote OTLP branch retain the canonical name and unit1.Validation
_ratiofamily before the fix. Afterward it verifies the exact unsuffixed family, three lane tuples with explicit zero/one values, producer/generation labels, and unchanged canonical remote name/unit/values.Scope
Four production configuration/contract lines plus regression tests. No KEDA query, threshold, resource, label, freshness, receiver-identity, or canonical OTLP changes. No deployment or release publication.
Review classification
Ordinary metric compatibility repair. No authentication/authorization changes and below both very-large-change thresholds. CodeRabbit and required CI apply.
Summary by CodeRabbit
sie_gateway_model_loads_in_progresswithout a unit suffix, preserving a consistent metric name for dashboards and queries.