trustgraph/trustgraph-flow
forhim007 3b724746a3 fix: safe label extraction for Prometheus-style metric keys
Replace unsafe chained-split parsing of metric labels in the
cache performance monitoring section with a reusable static
helper method .

The old code:
  cache_type = metric_name.split('cache_type=')[1].split(',')[0].split('}')[0]
risked IndexError if the guard at line 477 was removed or
refactored. The new method safely returns None when the label
is not found, and correctly extracts the value up to the next
 or  delimiter.

Fixes #873
2026-05-07 20:04:59 +08:00
..
trustgraph fix: safe label extraction for Prometheus-style metric keys 2026-05-07 20:04:59 +08:00
pyproject.toml feat: IAM service, gateway auth middleware, capability model, and CLIs (#849) 2026-04-24 17:29:10 +01:00
README.md Maint/fix build env (#84) 2024-09-30 19:47:09 +01:00