zed/crates
Antonio Scandurra a85f9e74b1 Harvest the latest metrics when /metrics is requested
Now that we track active projects, if nothing happens to the store
during the activity timeout we would still serve some old metrics
that may not account for the staleness of a project.

This commit changes it so that we grab a mutable reference to the store
before serving the metrics, which has the side effect of updating
all the metrics.
2022-06-15 10:54:51 +02:00
..
assets Move assets to their own crate, load keymaps in vim tests 2022-04-11 15:54:52 -07:00
auto_update Show a notification after Zed auto-updates 2022-06-06 17:42:31 -07:00
breadcrumbs Reduce accessibility of multibuffer read to reduce risk of borrowing snapshot and buffer refcells twice 2022-05-13 16:58:30 -07:00
chat_panel Merge branch 'mouse-events' into project-panel-context-menu 2022-05-27 12:07:00 +02:00
cli Cap MessageStream buffer size to 1MB 2022-05-31 11:16:32 +02:00
client Broadcast only visible worktree root names 2022-06-14 15:15:23 +02:00
clock Put vector clock serialization logic alongside other serialization logic 2022-03-04 13:54:07 -08:00
collab Harvest the latest metrics when /metrics is requested 2022-06-15 10:54:51 +02:00
collections Disable doctests for all libraries 2022-03-03 16:15:56 -08:00
command_palette Upgrade deps to avoid multiple versions of transitive deps 2022-06-02 17:38:33 -07:00
contacts_panel Broadcast only visible worktree root names 2022-06-14 15:15:23 +02:00
context_menu Snap overlay's bottom/right edge to same window's edge on overflow 2022-06-09 13:48:02 +02:00
diagnostics Introduce a new BlockStyle field for blocks 2022-06-10 13:47:40 +02:00
editor Simplify EditorElement::layout_blocks 2022-06-10 13:57:43 +02:00
file_finder Upgrade deps to avoid multiple versions of transitive deps 2022-06-02 17:38:33 -07:00
fsevent 🎨 2022-05-23 09:48:00 +02:00
fuzzy Show requests in contacts panel 2022-05-09 12:48:07 -06:00
go_to_line Introduce keyboard navigation in context menus 2022-05-26 16:36:30 +02:00
gpui Add hover test and tweak dismiss logic 2022-06-09 17:03:45 -07:00
gpui_macros Allow taking an Arc<Deterministic> in [gpui::test]-decorated tests 2022-04-11 13:42:30 +02:00
journal Prevent setting files from showing up in project and contacts panels 2022-06-14 14:47:16 +02:00
language Add hover test and tweak dismiss logic 2022-06-09 17:03:45 -07:00
lsp Syntax highlighting working. Getting started on markdown support 2022-06-07 11:54:33 -07:00
menu Require that PartialEq is implemented for Action 2022-06-06 09:18:44 +02:00
outline Switch MouseEventHandler to use MouseRegions 2022-05-26 20:00:01 -06:00
picker Upgrade deps to avoid multiple versions of transitive deps 2022-06-02 17:38:33 -07:00
project Track active projects in metrics 2022-06-15 10:33:20 +02:00
project_panel 🎨 2022-06-14 14:03:25 +02:00
project_symbols Switch MouseEventHandler to use MouseRegions 2022-05-26 20:00:01 -06:00
rpc Track active projects in metrics 2022-06-15 10:33:20 +02:00
search Extract an ExcerptRange containing a context field in multi_buffer 2022-06-08 12:13:04 +02:00
settings Merge pull request #1155 from zed-industries/golang 2022-06-09 14:18:37 -07:00
snippet Add a snippet unit test with an escaped curly brace 2022-03-11 13:02:20 -08:00
sum_tree Upgrade deps to avoid multiple versions of transitive deps 2022-06-02 17:38:33 -07:00
text Add support for hard tabs 2022-06-08 18:30:10 -07:00
theme Render a "Jump to Buffer" icon on all excerpt headers 2022-06-08 15:31:29 +02:00
theme_selector Switch MouseEventHandler to use MouseRegions 2022-05-26 20:00:01 -06:00
util fix bug in marked_range utils 2022-05-26 17:02:05 -07:00
vim Add tests and fix bugs for editor indent/outdent commands w/ hard tabs 2022-06-09 10:26:09 -07:00
workspace Broadcast only visible worktree root names 2022-06-14 15:15:23 +02:00
zed Prevent setting files from showing up in project and contacts panels 2022-06-14 14:47:16 +02:00