Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bonsairobo/bevy_metrics_dashboard
/ functions
Functions
97 in github.com/bonsairobo/bevy_metrics_dashboard
⨍
Functions
97
◇
Types & classes
31
↓ 16 callers
Method
name
Name of the plot.
src/plots.rs:489
↓ 14 callers
Method
push
Overwrites the oldest element if capacity limit is reached.
src/ring.rs:39
↓ 9 callers
Method
add
(&mut self, value: f64)
src/plots.rs:633
↓ 6 callers
Function
make_search_result
( kind: MetricKind, key: &metrics::Key, descriptions: &HashMap<DescriptionKey, MetricDescription>,
src/registry.rs:146
↓ 4 callers
Method
set_max_len
(&mut self, new_max_len: usize)
src/ring.rs:22
↓ 4 callers
Function
window_size_slider
(size: &mut usize)
src/plots.rs:616
↓ 3 callers
Method
add_description_if_missing
(&self, key: DescriptionKey, description: MetricDescription)
src/registry.rs:129
↓ 3 callers
Method
configure_ui
(&mut self, enable_window_size: bool, ui: &mut Ui)
src/plots.rs:221
↓ 3 callers
Function
unit_str
(unit: Unit)
src/lib.rs:58
↓ 2 callers
Method
add_plot
Add a new [`MetricPlot`] to this window.
src/dashboard_window.rs:148
↓ 2 callers
Function
add_value_to_bucket
(bucket_bounds: &[f64], value: f64, bucket_counts: &mut [u32])
src/plots.rs:536
↓ 2 callers
Function
derivative
(points: &mut Vec<PlotPoint>)
src/plots.rs:643
↓ 2 callers
Method
detailed_text
Display the complete information of a search result. `display_path` will override the key's name, which is used for removing layers of namespacing.
src/registry.rs:222
↓ 2 callers
Method
draw
Draw the plot using `ui`.
src/plots.rs:527
↓ 2 callers
Method
get_bounds
Calculate bounds of all buckets.
src/plots.rs:139
↓ 2 callers
Method
get_or_create_counter
(&self, key: &metrics::Key)
src/registry.rs:60
↓ 2 callers
Method
get_or_create_gauge
(&self, key: &metrics::Key)
src/registry.rs:64
↓ 2 callers
Method
get_or_create_histogram
(&self, key: &metrics::Key)
src/registry.rs:68
↓ 2 callers
Method
handle_global_config
(&mut self, dash_config: &DashboardConfig)
src/plots.rs:214
↓ 2 callers
Method
id
The window's [`egui::Id`].
src/namespace_tree.rs:55
↓ 2 callers
Method
iter_chronological
(&self)
src/ring.rs:46
↓ 2 callers
Method
key
The key of the metric being plotted.
src/plots.rs:494
↓ 2 callers
Method
latest
(&self)
src/ring.rs:34
↓ 2 callers
Method
make_plot_points
(&self)
src/ring.rs:50
↓ 1 callers
Method
all_metrics
Get a search result for every registered metric.
src/registry.rs:109
↓ 1 callers
Method
clamp_max
Prevent `self.max <= self.min` by clamping `self.max`.
src/plots.rs:134
↓ 1 callers
Method
clamp_min
Prevent `self.min >= self.max` by clamping `self.min`.
src/plots.rs:129
↓ 1 callers
Method
clear_atomic_buckets
Clear all atomic buckets used for storing histogram data.
src/registry.rs:135
↓ 1 callers
Method
clone_config
Clone this plot's configuration.
src/plots.rs:499
↓ 1 callers
Method
configure_ui
Draw the plot configuration UI.
src/dashboard_window.rs:172
↓ 1 callers
Method
draw
Draw the widget and accept user input. If the user selects a metric, it will be returned.
src/namespace_tree.rs:98
↓ 1 callers
Function
draw_plot
( dash_config: &DashboardConfig, name: &str, unit: Option<Unit>, data: &mut MetricPlotData,
src/plots.rs:544
↓ 1 callers
Method
draw_plots
Draw all [`MetricPlot`]s in this window.
src/dashboard_window.rs:186
↓ 1 callers
Function
dropdown_list
Returns the iterator element corresponding to the newly-selected item.
src/dropdown_list.rs:4
↓ 1 callers
Method
fuzzy_search_by_name
Search the registry for metrics whose name matches `input`. Empty `input` will match everything. Results are not returned in any particular order.
src/registry.rs:81
↓ 1 callers
Method
make_bar_chart
(&self)
src/plots.rs:372
↓ 1 callers
Method
max_len
(&self)
src/ring.rs:18
↓ 1 callers
Method
plot_selected_search_result
If a result from the [`SearchBar`] is selected, a corresponding [`MetricPlot`] will be added to this window.
src/dashboard_window.rs:129
↓ 1 callers
Method
smoothed_value
(&self)
src/plots.rs:638
↓ 1 callers
Method
title
The window title.
src/dashboard_window.rs:57
↓ 1 callers
Method
title
The text used when displaying search results and assigning a title to a plot.
src/registry.rs:178
↓ 1 callers
Method
update
(&mut self)
src/plots.rs:233
↓ 1 callers
Method
update_bounds_from_input
(&mut self)
src/plots.rs:360
↓ 1 callers
Method
update_plots
Calls [`MetricPlot::update`] on all plots in this window.
src/dashboard_window.rs:76
Method
build
(&self, app: &mut bevy::prelude::App)
src/dashboard_plugin.rs:14
Method
build
(&self, app: &mut App)
src/render_metrics_plugin.rs:10
Method
build
(&self, app: &mut bevy::prelude::App)
src/registry_plugin.rs:41
Method
build
(&self, app: &mut App)
src/core_metrics_plugin.rs:8
Method
clear_atomic_buckets_system
(registry: Res<Self>)
src/registry.rs:141
Method
config
This window's configuration.
src/dashboard_window.rs:62
Function
create_dashboard
(mut commands: Commands)
examples/many_metrics.rs:71
Function
create_dashboard
(mut commands: Commands)
examples/namespace_tree.rs:53
Function
create_dashboard
(mut commands: Commands)
examples/stress.rs:23
Method
create_parent_node
(group_name: &str, children: Vec<Self>)
src/namespace_tree.rs:231
Method
default
()
src/search_bar.rs:22
Method
default
()
src/plots.rs:53
Method
default
()
src/registry.rs:158
Method
default_for_kind
Default configuration for the given `kind` of metric being plotted.
src/plots.rs:34
Function
describe_core_metrics
()
src/core_metrics_plugin.rs:14
Method
describe_counter
(&self, key_name: KeyName, unit: Option<Unit>, description: SharedString)
src/registry.rs:271
Method
describe_gauge
(&self, key_name: KeyName, unit: Option<Unit>, description: SharedString)
src/registry.rs:284
Method
describe_histogram
(&self, key_name: KeyName, unit: Option<Unit>, description: SharedString)
src/registry.rs:297
Function
describe_metrics
()
examples/many_metrics.rs:20
Function
describe_metrics
()
examples/namespace_tree.rs:20
Function
describe_render_metrics
()
src/render_metrics_plugin.rs:16
Method
draw
Draw the widget and accept user input. If the user selects one of the search results, it will be returned.
src/search_bar.rs:42
Method
draw_all
Bevy system that draws all namespace tree window entities.
src/namespace_tree.rs:66
Method
draw_all
Bevy system that draws all [`DashboardWindow`] entities into the [`bevy_egui::EguiContexts`]. Also handles [`RequestPlot`] events by creating a new p
src/dashboard_window.rs:87
Method
draw_recursive
(nodes: &[NamespaceNode], selected: &mut Option<SearchResult>, ui: &mut Ui)
src/namespace_tree.rs:125
Method
from
(value: &MetricKey)
src/registry.rs:201
Method
get_description
(&self, key: &DescriptionKey)
src/registry.rs:72
Function
main
()
examples/many_metrics.rs:9
Function
main
()
examples/namespace_tree.rs:9
Function
main
()
examples/stress.rs:10
Function
metric_kind_str
(kind: MetricKind)
src/lib.rs:50
Function
move_camera
(time: Res<Time>, mut camera_query: Query<&mut Transform, With<Camera>>)
examples/stress.rs:67
Method
new
Create an empty search bar.
src/search_bar.rs:29
Method
new
Create a new window.
src/namespace_tree.rs:33
Method
new
(config: CounterPlotConfig, source: Arc<AtomicU64>)
src/plots.rs:205
Method
new
Create a default plugin.
src/registry_plugin.rs:24
Method
new
Create a new dashboard window without any plots.
src/dashboard_window.rs:47
Method
new
(max_len: usize)
src/ring.rs:11
Method
new
()
src/registry.rs:43
Method
register_counter
(&self, key: &metrics::Key, _metadata: &Metadata<'_>)
src/registry.rs:310
Method
register_gauge
(&self, key: &metrics::Key, _metadata: &Metadata<'_>)
src/registry.rs:316
Method
register_histogram
(&self, key: &metrics::Key, _metadata: &Metadata<'_>)
src/registry.rs:322
Method
set_refresh_period
Set the time between updates of the tree.
src/namespace_tree.rs:60
Function
setup
(mut commands: Commands, assets: Res<AssetServer>)
examples/stress.rs:27
Method
title
The window's title.
src/namespace_tree.rs:50
Method
tree_from_results
(results: &mut [SearchResult])
src/namespace_tree.rs:164
Method
tree_from_sorted_results_recursive
( mut results: &[SearchResult], path_start: usize, )
src/namespace_tree.rs:169
Function
update_core_metrics
(entities: &Entities, time: Res<Time>)
src/core_metrics_plugin.rs:29
Function
update_metrics
()
examples/many_metrics.rs:76
Function
update_metrics
()
examples/namespace_tree.rs:58
Method
update_plots_on_all_windows
Bevy system that calls [`Self::update_plots`] on all window entities.
src/dashboard_window.rs:67
Function
update_render_metrics
( cameras_2d: Query<(Entity, &VisibleEntities), With<Camera2d>>, cameras_3d: Query<(Entity, &VisibleEn
src/render_metrics_plugin.rs:29
Method
with_registry
Provide your own instance of a registry. WARNING: Using this constructor will silence errors if it fails to call [`set_global_recorder`], assuming th
src/registry_plugin.rs:33