source-controller/internal/cache
Sunny e7d7681b1b Delete stale metrics on object delete
Move record suspend metrics next to readiness and duration metrics so
that it gets recorded along with others always at the end and the
metrics delete, which requires the knowledge of deleted finalizers,
applies to suspend too.

HelmRepository cache event metrics for a given helmrepo also continues
to be exported even after the object is deleted. This change deletes
the cache event metrics when the object is deleted.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2023-08-15 02:35:35 +05:30
..
LICENSE Add MIT Licence copyright notice 2022-04-01 12:41:53 +02:00
cache.go cache: ensure new expiration is persisted 2023-08-01 17:34:25 +02:00
cache_test.go Cache HelmRepository index files 2022-04-01 12:41:52 +02:00
metrics.go Delete stale metrics on object delete 2023-08-15 02:35:35 +05:30