Registry / observability / aptos-metrics-core

aptos-metrics-core

JSON →
libraryrscratesunverified

Core metrics shortcuts for the Aptos blockchain project.

# Cargo.toml [dependencies] aptos-metrics-core = "latest"
INSTALL
IMPORT
SIG · APTOS-METRICS-CORE
A
aptos-metrics-core
observabilityrust
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

register_histogram
use aptos_metrics_core::register_histogram;

Registers and uses a histogram metric.

use aptos_metrics_core::register_histogram; fn main() { let histogram = register_histogram!( "my_metric", "description" ).unwrap(); histogram.observe(1.0); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Dependencies

No dependency data recorded yet.

Agent activity
42 hits · last 30 days
node
36
OpenAI (training)
1
Resources
aptos-metrics-core — cargo add aptos-metrics-core · libregistry