Commit 6563962
committed
db: Register TelemetryEvent collection and indexes
Add TelemetryEvent model to the COLLECTIONS dict so the telemetry
MongoDB collection is created at startup with TTL and compound indexes.
Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>1 parent 7ae51e3 commit 6563962
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
0 commit comments