@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/docs/SKILL.md
CHANGED
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",
|