-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
send backend metrics to their own postgres channel (#843)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Separate backend metrics into their own PostgreSQL channel using `emit_backend_metrics` in `subscribe.rs`. > > - **Behavior**: > - `publish_metrics` in `backend.rs` now uses `emit_backend_metrics` to send metrics to `plane_backend_metrics` channel. > - Removes `emit_ephemeral_with_key` and `emit_ephemeral_impl` from `subscribe.rs`. > - **Functions**: > - Adds `emit_backend_metrics` in `subscribe.rs` to handle backend metrics separately. > - Modifies `emit_impl` to support new channel logic. > - **Constants**: > - Adds `BACKEND_METRICS_EVENT_CHANNEL` in `subscribe.rs` for backend metrics. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=jamsocket%2Fplane&utm_source=github&utm_medium=referral)<sup> for b6ec34a. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
- Loading branch information
Showing
2 changed files
with
24 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters