Skip to content

Conversation

@ekjotsinghmakhija
Copy link
Member

This pull request introduces several updates, including configuration changes, improvements to presence handling in the RealtimeChannel module, and minor code cleanups. The most significant changes focus on enhancing functionality and simplifying the codebase for better maintainability.

Configuration Updates:

  • Moved the url configuration for logflare_logger_backend from config/config.exs to config/runtime.exs, allowing it to be set dynamically via the LOGFLARE_LOGGER_BACKEND_URL environment variable. This improves flexibility in different environments. [1] [2]

Presence Handling Improvements:

  • Replaced the presence_list_shard_bypass function with a new presence_dirty_list function in the RealtimeChannel module. This simplifies the logic for fetching and grouping presence data and removes error handling for shard bypass. [1] [2]

Code Cleanups:

  • Removed an unused duplicate import statement in the PromEx module, improving code clarity.
  • Removed a debug IO.inspect statement from the RealtimeChannel module to clean up logging.

Metric Unit Adjustment:

  • Updated the unit field for logical replication slot polling queries in the Tenant PromEx plugin to use {:microsecond, :millisecond} for better precision.

Version Update:

  • Bumped the application version from 2.9.0 to 2.9.4 in the mix.exs file to reflect the changes.

@ekjotsinghmakhija ekjotsinghmakhija merged commit eeaa093 into tealbase:main Jul 21, 2025
0 of 2 checks passed
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