Skip to content
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

feat(metrics): added metrics and peer_id endpoints #1699

Merged
merged 3 commits into from
Jul 12, 2023

Update nox/src/node.rs

68d5374
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

feat(metrics): added metrics and peer_id endpoints #1699

Update nox/src/node.rs
68d5374
Select commit
Loading
Failed to load commit list.
GitHub Actions / nox report succeeded Jul 12, 2023 in 1s

nox report ✅

Tests passed successfully

✅ target/nextest/ci/junit.xml

195 tests were completed in 126s with 195 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
aquamarine 1✅ NaNms
fluence-libp2p 2✅ NaNms
kademlia 3✅ NaNms
nox 1✅ NaNms
nox-tests::boolean_test 1✅ NaNms
nox-tests::builtin 57✅ NaNms
nox-tests::client_api 1✅ NaNms
nox-tests::echo_particle 1✅ NaNms
nox-tests::kademlia 2✅ NaNms
nox-tests::local_vm 1✅ NaNms
nox-tests::modules 2✅ NaNms
nox-tests::script_storage 10✅ NaNms
nox-tests::services 2✅ NaNms
nox-tests::spells 34✅ NaNms
nox-tests::tests 14✅ NaNms
nox-tests::tetraplets 1✅ NaNms
nox-tests::topology 3✅ NaNms
nox-tests::vault 4✅ NaNms
particle-args 1✅ NaNms
particle-builtins 2✅ NaNms
particle-modules 3✅ NaNms
particle-protocol 3✅ NaNms
particle-services 7✅ NaNms
server-config 19✅ NaNms
service-modules 5✅ NaNms
spell-event-bus 14✅ NaNms
waiting-queues 1✅ NaNms

✅ aquamarine

✅ plumber::tests::ignore_expired

✅ fluence-libp2p

✅ serde::tests::multihash
✅ serde::tests::peerid

✅ kademlia

✅ behaviour::tests::dont_repeat_discovery
✅ behaviour::tests::discovery
✅ behaviour::tests::ban

✅ nox

✅ node::tests::run_node

✅ nox-tests::boolean_test

✅ pass_boolean

✅ nox-tests::builtin

✅ array_sdiff
✅ array
✅ array_intersect
✅ array_length
✅ array_diff
✅ array_dedup
✅ add_alias_list
✅ array_slice
✅ array_sum
✅ array_slice_out_of_bounds
✅ aliases_restart
✅ base58_bytes_builtins
✅ array_slice_wrong_args_count
✅ array_slice_wrong_second_arg
✅ array_slice_wrong_third_arg
✅ base58_string_builtins
✅ concat
✅ identify
✅ empty_array_slice
✅ index_by_math
✅ json_builtins
✅ identity
✅ kad_merge
✅ insecure_sign_verify
✅ cmp_cmp
✅ math_add
✅ math_rem
✅ cmp_gt
✅ cmp_le
✅ math_log
✅ math_pow
✅ math_sub
✅ noop
✅ math_fmul
✅ math_mul
✅ neighborhood
✅ not_array_slice
✅ math_div
✅ remove_service
✅ non_owner_remove_service
✅ resolve_alias_not_exists
✅ remove_service_by_alias
✅ resolve_alias
✅ resolve_alias_removed
✅ service_mem
✅ service_stats_uninitialized
✅ service_stats
✅ debug_stringify_flaky
✅ sha256
✅ remove_service_restart
✅ timeout_race
✅ timeout_wait
✅ timestamp_ms
✅ timestamp_sec
✅ xor_type_error
✅ sig_verify_invalid_signature
✅ sign_invalid_tetraplets

✅ nox-tests::client_api

✅ call_custom_service

✅ nox-tests::echo_particle

✅ echo_particle

✅ nox-tests::kademlia

✅ neighborhood
✅ neighborhood_with_addresses

✅ nox-tests::local_vm

✅ make

✅ nox-tests::modules

✅ test_add_module_mounted_binaries_forbidden
✅ test_add_module_mounted_binaries

✅ nox-tests::script_storage

✅ add_script_from_vault_wrong_vault
✅ autoremove_singleshot
✅ add_script_delay
✅ remove_script
✅ add_script_delay_oneshot
✅ remove_script_management_key
✅ remove_script_unauth
✅ add_script_from_vault_ok
✅ stream_hello
✅ script_routing

✅ nox-tests::services

✅ create_service_from_config
✅ handle_same_dir_in_preopens_and_mapped_dirs

✅ nox-tests::spells

✅ create_remove_worker
✅ resolve_alias_wrong_worker
✅ resolve_global_alias
✅ spell_args_test
✅ spell_call_by_default_alias
✅ spell_call_by_alias
✅ spell_connection_pool_trigger_mailbox_test
✅ spell_create_worker_twice
✅ spell_create_worker_same_deal_id_different_peer
✅ spell_install_fail_end_sec_before_start
✅ spell_install_fail_large_period
✅ spell_install_fail_end_sec_past
✅ spell_install_ok_empty_config
✅ spell_install_root_scope
✅ spell_peer_id_test
✅ spell_error_handling_test
✅ spell_remove_by_alias
✅ spell_relay_id_test
✅ spell_remove
✅ spell_remove_service_as_spell
✅ spell_remove_spell_as_service
✅ spell_set_u32
✅ spell_run_oneshot
✅ spell_return_test
✅ spell_store_trigger_config
✅ spell_simple_test
✅ spell_timer_trigger_mailbox_test
✅ test_worker_list
✅ spell_update_config
✅ spell_update_config_stopped_spell
✅ spell_update_trigger_by_alias
✅ spell_trigger_connection_pool
✅ test_spell_list
✅ worker_sig_test

✅ nox-tests::tests

✅ network::loop_topology::fold_fold_fold_par_null_join
✅ network::loop_topology::fold_fold_fold_par_null
✅ network::loop_topology::fold_fold_fold_seq_two_par_null_folds_flaky
✅ network::loop_topology::fold_fold_seq_join
✅ network::loop_topology::fold_seq_join
✅ network::loop_topology::join_empty_stream
✅ network::loop_topology::fold_par_same_node_stream
✅ network::loop_topology::fold_fold_pairs_seq_join
✅ network::loop_topology::fold_via
✅ network::network_explore::explore_services
✅ network::network_explore::get_interfaces
✅ network::network_explore::list_blueprints
✅ network::network_explore::get_modules
✅ network::network_explore::explore_services_fixed_flaky

✅ nox-tests::tetraplets

✅ test_tetraplets

✅ nox-tests::topology

✅ init_peer_id
✅ identity
✅ join

✅ nox-tests::vault

✅ load_blueprint_from_vault
✅ deploy_from_vault
✅ put_cat_vault
✅ share_file

✅ particle-args

✅ args::tests::test_next_opt

✅ particle-builtins

✅ builtins::prop_tests::module_config
✅ json::tests::json_parse_string

✅ particle-modules

✅ modules::tests::test_add_blueprint
✅ modules::tests::test_add_module_max_heap_size_overflow
✅ modules::tests::test_add_module_get_interface

✅ particle-protocol

✅ libp2p_protocol::upgrade::tests::deserialize
✅ libp2p_protocol::upgrade::tests::oneshot_channel_test
✅ libp2p_protocol::upgrade::tests::length_prefixed

✅ particle-services

✅ app_services::tests::test_add_alias_no_service
✅ app_services::tests::test_add_alias_forbidden
✅ app_services::tests::test_add_alias
✅ app_services::tests::test_add_alias_twice
✅ app_services::tests::test_add_alias_repeated
✅ app_services::tests::test_persisted_service
✅ app_services::tests::test_get_interface_cache

✅ server-config

✅ resolved_config::tests::load_allowed_binaries_with_env
✅ resolved_config::tests::load_allowed_binaries_with_file
✅ resolved_config::tests::load_base58_secret_key
✅ resolved_config::tests::load_base58_keypair
✅ resolved_config::tests::load_base64_keypair
✅ resolved_config::tests::load_base64_secret_key
✅ resolved_config::tests::load_config_simple
✅ resolved_config::tests::load_empty_config
✅ resolved_config::tests::load_empty_keypair
✅ resolved_config::tests::load_log_format_with_args
✅ resolved_config::tests::load_log_format_with_env
✅ resolved_config::tests::load_path_keypair_generate
✅ resolved_config::tests::load_tracing_disabled_with_args
✅ resolved_config::tests::load_log_format_with_file
✅ resolved_config::tests::load_tracing_disabled_with_env
✅ resolved_config::tests::load_tracing_disabled_with_file
✅ resolved_config::tests::load_tracing_otlp_with_args
✅ resolved_config::tests::load_tracing_otlp_with_env
✅ resolved_config::tests::load_tracing_otlp_with_file

✅ service-modules

✅ modules::file_names::tests::is_bp
✅ modules::blueprint::test_blueprint_hash
✅ modules::file_names::tests::is_srvc
✅ modules::file_names::tests::is_wasm
✅ modules::file_names::tests::module_fname

✅ spell-event-bus

✅ bus::tests::test_subscribe_connect
✅ bus::tests::test_subscribe_many_spells_with_diff_event_types
✅ bus::tests::test_subscribe_many
✅ bus::tests::test_subscribe_oneshot
✅ bus::tests::test_subscribe_one
✅ bus::tests::test_unsubscribe
✅ config::trigger_config_tests::test_peer_events
✅ config::trigger_config_tests::test_reschedule_fail_ended
✅ config::trigger_config_tests::test_both_types_ended
✅ config::trigger_config_tests::test_reschedule_fail_oneshot_executed
✅ config::trigger_config_tests::test_reschedule_ok_oneshot_start_future
✅ config::trigger_config_tests::test_both_types_ok
✅ config::trigger_config_tests::test_reschedule_ok_periodic_end_future
✅ config::trigger_config_tests::test_reschedule_ok_periodic

✅ waiting-queues

✅ tests::remove_with