icingadb/pkg/icingadb
Alvar Penning 59924eab02
icingadb.HA: Enrich context expired error with information
When the context deadline for HA.realize expires, the generic "context
deadline exceeded" error is returned. During log analysis, this made me
check the code as the log message itself is not very clear.

> Instance update/insert exceeded heartbeat expiration time  {"error": "context deadline exceeded"}

Now, this error is wrapped to contain a bit more contextual information.
2026-03-17 11:23:38 +01:00
..
history notifications: Import StreamSorter Logic 2025-11-17 09:20:07 +01:00
overdue overdue.initSync: Retry SQL query 2026-01-14 10:20:01 +01:00
v1 Align Icinga 2 Types with SQL Representation 2026-01-13 16:53:38 +01:00
cleanup.go pkg/icingadb: Use backoff.DefaultBackoff 2025-05-28 13:45:21 +02:00
delta.go golangci-lint: Address forcetypeassert 2025-10-14 15:12:57 +02:00
delta_test.go golangci-lint: Address forcetypeassert 2025-10-14 15:12:57 +02:00
dump_signals.go golangci-lint: Address forcetypeassert 2025-10-14 15:12:57 +02:00
entitiesbyid.go golangci-lint: Address forcetypeassert 2025-10-14 15:12:57 +02:00
entitiesbyid_test.go Replace ctx.WithCancel() in tests with t.Context() 2025-08-26 15:08:28 +02:00
ha.go icingadb.HA: Enrich context expired error with information 2026-03-17 11:23:38 +01:00
runtime_updates.go telemetry: Undo Stats rework 2025-11-17 09:20:07 +01:00
schema.go CheckSchema: Verify intermediate schema upgrades 2026-01-14 09:55:56 +01:00
scoped_entity.go Replace interface{} with any 2025-08-26 14:49:54 +02:00
sync.go telemetry: Undo Stats rework 2025-11-17 09:20:07 +01:00