mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-11 04:31:51 +00:00
* remove protoc and token from network tests github action
* delete unused beacon chain methods
* downgrade writing blobs to store log
* reduce diff in block import logic
* remove some todo's and deneb built in network
* remove unnecessary error, actually use some added metrics
* remove some metrics, fix missing components on publish funcitonality
* fix status tests
* rename sidecar by root to blobs by root
* clean up some metrics
* remove unnecessary feature gate from attestation subnet tests, clean up blobs by range response code
* pawan's suggestion in `protocol_info`, peer score in matching up batch sync block and blobs
* fix range tests for deneb
* pub block and blob db cache behind the same mutex
* remove unused errs and an empty file
* move sidecar trait to new file
* move types from payload to eth2 crate
* update comment and add flag value name
* make function private again, remove allow unused
* use reth rlp for tx decoding
* fix compile after merge
* rename kzg commitments
* cargo fmt
* remove unused dep
* Update beacon_node/execution_layer/src/lib.rs
Co-authored-by: Pawan Dhananjay <pawandhananjay@gmail.com>
* Update beacon_node/beacon_processor/src/lib.rs
Co-authored-by: Pawan Dhananjay <pawandhananjay@gmail.com>
* pawan's suggestiong for vec capacity
* cargo fmt
* Revert "use reth rlp for tx decoding"
This reverts commit 5181837d81.
* remove reth rlp
---------
Co-authored-by: Pawan Dhananjay <pawandhananjay@gmail.com>
46 lines
2.1 KiB
Rust
46 lines
2.1 KiB
Rust
pub use lighthouse_metrics::*;
|
|
|
|
lazy_static::lazy_static! {
|
|
pub static ref HTTP_API_PATHS_TOTAL: Result<IntCounterVec> = try_create_int_counter_vec(
|
|
"http_api_paths_total",
|
|
"Count of HTTP requests received",
|
|
&["path"]
|
|
);
|
|
pub static ref HTTP_API_STATUS_CODES_TOTAL: Result<IntCounterVec> = try_create_int_counter_vec(
|
|
"http_api_status_codes_total",
|
|
"Count of HTTP status codes returned",
|
|
&["status"]
|
|
);
|
|
pub static ref HTTP_API_PATHS_TIMES: Result<HistogramVec> = try_create_histogram_vec(
|
|
"http_api_paths_times",
|
|
"Duration to process HTTP requests per path",
|
|
&["path"]
|
|
);
|
|
|
|
pub static ref HTTP_API_BEACON_PROPOSER_CACHE_TIMES: Result<Histogram> = try_create_histogram(
|
|
"http_api_beacon_proposer_cache_build_times",
|
|
"Duration to process HTTP requests per path",
|
|
);
|
|
pub static ref HTTP_API_BEACON_PROPOSER_CACHE_HITS_TOTAL: Result<IntCounter> = try_create_int_counter(
|
|
"http_api_beacon_proposer_cache_hits_total",
|
|
"Count of times the proposer cache has been hit",
|
|
);
|
|
pub static ref HTTP_API_BEACON_PROPOSER_CACHE_MISSES_TOTAL: Result<IntCounter> = try_create_int_counter(
|
|
"http_api_beacon_proposer_cache_misses_total",
|
|
"Count of times the proposer cache has been missed",
|
|
);
|
|
pub static ref HTTP_API_BLOCK_BROADCAST_DELAY_TIMES: Result<HistogramVec> = try_create_histogram_vec(
|
|
"http_api_block_broadcast_delay_times",
|
|
"Time between start of the slot and when the block was broadcast",
|
|
&["provenance"]
|
|
);
|
|
pub static ref HTTP_API_BLOCK_PUBLISHED_LATE_TOTAL: Result<IntCounter> = try_create_int_counter(
|
|
"http_api_block_published_late_total",
|
|
"The count of times a block was published beyond more than half way to the attestation deadline"
|
|
);
|
|
pub static ref HTTP_API_BLOCK_PUBLISHED_VERY_LATE_TOTAL: Result<IntCounter> = try_create_int_counter(
|
|
"http_api_block_published_very_late_total",
|
|
"The count of times a block was published beyond the attestation deadline"
|
|
);
|
|
}
|