Cache and Queue metrics should not include obsolete values
For example, after deleting the step "config-split-names-from-streaming", we still had a lot of entries for it in the metrics. We should check and delete them automatically, as they are not present anymore in the cache collection.

```
db.cacheTotalMetric.deleteMany({kind: "config-split-names-from-streaming"})
{ acknowledged: true, deletedCount: 10 }
```

The same occurs with obsolete error codes
Cache and Queue metrics should not include obsolete values: For example, after deleting the step "config-split-names-from-streaming", we still had a lot of entries for it in the metrics. We should check and delete them automatically, as they are not present anymore in the cache collection.

```
db.cacheTotalMetric.deleteMany({kind: "config-split-names-from-streaming"})
{ acknowledged: true, deletedCount: 10 }
```

The same occurs with obsolete error codes