@mastra/spanner 1.8.1 → 1.8.2
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.
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/storage/domains/observability/index.d.ts +1 -0
- package/dist/storage/domains/observability/index.d.ts.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -8941,6 +8941,9 @@ var ObservabilitySpanner = class ObservabilitySpanner extends ObservabilityStora
|
|
|
8941
8941
|
this.disableMetrics = disableMetrics ?? true;
|
|
8942
8942
|
this.indexes = indexes?.filter((idx) => ObservabilitySpanner.MANAGED_TABLES.includes(idx.table));
|
|
8943
8943
|
}
|
|
8944
|
+
getFeatures() {
|
|
8945
|
+
return this.disableMetrics ? [] : ["metrics", "metric-discovery"];
|
|
8946
|
+
}
|
|
8944
8947
|
async prune(policies, options) {
|
|
8945
8948
|
return executeRetentionPrune({
|
|
8946
8949
|
domain: "observability",
|