@mastra/observability 0.0.0-main-test-05-11-2025-2-20251105214713 → 0.0.0-main-test-05-11-2025-2-20251105223343

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/index.js CHANGED
@@ -95,7 +95,7 @@ var CloudExporter = class extends BaseExporter {
95
95
  "MASTRA_CLOUD_ACCESS_TOKEN environment variable not set. \u{1F680} Sign up for Mastra Cloud at https://cloud.mastra.ai to see your traces online and obtain your access token."
96
96
  );
97
97
  }
98
- const endpoint = config.endpoint ?? process.env.MASTRA_CLOUD_AI_TRACES_ENDPOINT ?? "https://api.mastra.ai/ai/spans/publish";
98
+ const endpoint = config.endpoint ?? process.env.MASTRA_CLOUD_TRACES_ENDPOINT ?? "https://api.mastra.ai/ai/spans/publish";
99
99
  this.config = {
100
100
  logger: this.logger,
101
101
  logLevel: config.logLevel ?? LogLevel.INFO,
@@ -1587,7 +1587,7 @@ var BaseObservabilityInstance = class extends MastraBase {
1587
1587
  // Utility Methods
1588
1588
  // ============================================================================
1589
1589
  /**
1590
- * Check if an AI trace should be sampled
1590
+ * Check if a trace should be sampled
1591
1591
  */
1592
1592
  shouldSample(options) {
1593
1593
  const { sampling } = this.config;