-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Observer type #13
Comments
This could be used by external crates to export to systems like Prometheus. |
Also need metrics from |
Some more toughs. An pub trait Observable {
// This would need to implement serde::Deserialise or something.
type Metrics;
fn observe(&self) -> Metrics;
} For the pub struct ActorSystemMetrics {
active_actors: usize,
inactive_actors: usize,
total_actors_spawned: usize,
} For pub struct TcpListenerMetrics {
accepted_connections: usize,
} |
Maybe support OpenTelemtry: https://opentelemetry.io/, https://github.com/open-telemetry/opentelemetry-specification. |
See #484. |
This Observer allows metrics to be exported, including but not limited to:
x86_64-apple-darwin
?ProcessId
, name (?) and ready state.This is going to be hard when using a seperate process per core, rather then threads.
The text was updated successfully, but these errors were encountered: