Docs.rs
  • solana-metrics-2.2.14
    • solana-metrics 2.2.14
    • Permalink
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • anza-team
    • Dependencies
      • crossbeam-channel ^0.5.15 normal
      • gethostname ^0.2.3 normal
      • lazy_static ^1.5.0 normal
      • log ^0.4.25 normal
      • reqwest ^0.11.27 normal
      • solana-clock ^2.2.1 normal
      • solana-cluster-type ^2.2.1 normal
      • solana-sha256-hasher ^2.2.1 normal
      • solana-time-utils ^2.2.1 normal
      • thiserror ^2.0.11 normal
      • env_logger ^0.9.3 dev
      • rand ^0.8.5 dev
      • serial_test ^2.0.0 dev
    • Versions
    • 26.37% of the crate is documented
  • Platform
    • x86_64-unknown-linux-gnu
  • Feature flags
  • Rust
    • About docs.rs
    • Privacy policy
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate solana_metrics

solana_metrics2.2.14

  • All Items

Crate Items

  • Re-exports
  • Modules
  • Macros
  • Structs

Crates

  • solana_metrics

Crate solana_metrics

Source

Re-exports§

pub use crate::metrics::flush;
pub use crate::metrics::query;
pub use crate::metrics::set_host_id;
pub use crate::metrics::set_panic_hook;
pub use crate::metrics::submit;

Modules§

counter
datapoint
This file defines a set of macros for reporting metrics.
metrics
The metrics module enables sending measurements to an InfluxDB instance
poh_timing_point
A poh_timing_point module

Macros§

create_counter
create_datapoint
datapoint
datapoint_debug
datapoint_error
datapoint_info
datapoint_trace
datapoint_warn
inc_counter
inc_counter_info
inc_new_counter
inc_new_counter_debug
inc_new_counter_error
inc_new_counter_info
inc_new_counter_warn

Structs§

CounterToken
A token for TokenCounter.
MovingStat
TokenCounter
A helper that sends the count of created tokens as a datapoint.

Results

Settings
Help
    macro
    solana_metrics::create_datapoint
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.