This adds a simple metric neighborly.db.vectors.count to report the number of vectors in the index, and neighborly.db.index.rebuild for the number of index rebuilds. Also adds a simple sample with .NET Aspire to showcase how metrics and logs might be used with OTEL.
🔗 Related Issues
Nada 😅🤷
💡 Additional Notes
Technically, nobody asked for this, yet. However, I think that any DBA will want some observability tools at some point in time.
The manually added activities aren't executed right now, because the indexing thread is never started. It might be interesting to add additional metrics and activites/traces later on.
## 📝 Description
This adds a simple metric
neighborly.db.vectors.count
to report the number of vectors in the index, andneighborly.db.index.rebuild
for the number of index rebuilds. Also adds a simple sample with .NET Aspire to showcase how metrics and logs might be used with OTEL.🔗 Related Issues
Nada 😅🤷
💡 Additional Notes
Technically, nobody asked for this, yet. However, I think that any DBA will want some observability tools at some point in time.
The manually added activities aren't executed right now, because the indexing thread is never started. It might be interesting to add additional metrics and activites/traces later on.