@mastra/spanner 1.8.1-alpha.0 → 1.8.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ name: mastra-spanner
3
3
  description: Documentation for @mastra/spanner. Use when working with @mastra/spanner APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/spanner"
6
- version: "1.8.1-alpha.0"
6
+ version: "1.8.2-alpha.0"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.8.1-alpha.0",
2
+ "version": "1.8.2-alpha.0",
3
3
  "package": "@mastra/spanner",
4
4
  "exports": {},
5
5
  "modules": {}
package/dist/index.cjs CHANGED
@@ -8942,6 +8942,9 @@ var ObservabilitySpanner = class ObservabilitySpanner extends _mastra_core_stora
8942
8942
  this.disableMetrics = disableMetrics ?? true;
8943
8943
  this.indexes = indexes?.filter((idx) => ObservabilitySpanner.MANAGED_TABLES.includes(idx.table));
8944
8944
  }
8945
+ getFeatures() {
8946
+ return this.disableMetrics ? [] : ["metrics", "metric-discovery"];
8947
+ }
8945
8948
  async prune(policies, options) {
8946
8949
  return (0, _mastra_core_storage.executeRetentionPrune)({
8947
8950
  domain: "observability",