Skip to content

Conversation

lucasAguiar11
Copy link

Summary

  • Add automatic schema detection for SigNoz logs (v2/v1 compatibility)
  • Enhance fetch_traces_or_logs tool with backward compatibility support
  • Improve logs querying performance with v2 schema optimizations

Changes

  • Auto-detection: Tool now automatically detects and uses logs_v2 schema when available, falls back to v1 for compatibility
  • Schema v2 support: Added support for distributed_logs_v2 table with nanosecond timestamps and optimized querying
  • Enhanced tool description: Updated MCP tool description to reflect new capabilities and returned fields
  • Manual override: Added logs_version parameter to force specific schema version if needed
  • Performance optimization: Uses ts_bucket_start filtering for v2 schema for better query performance

Backward Compatibility

  • Maintains full compatibility with existing SigNoz installations using v1 logs schema
  • Graceful fallback mechanism ensures no breaking changes for older versions

…tection

   - Add automatic schema detection for SigNoz logs (v2/v1 compatibility)
   - Enhance fetch_traces_or_logs tool with backward compatibility support
   - Improve logs querying performance with v2 schema optimizations
   - Auto-detection uses logs_v2 schema when available, falls back to v1
   - Added logs_version parameter for manual schema override
   - Uses ts_bucket_start filtering for v2 schema performance optimization
   - Maintains full backward compatibility with existing installations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant