Commit Graph

11547 Commits (1e6cfcf950abd849548844cffb49150bc1601ee5)

Author SHA1 Message Date
derekpierre 1e6cfcf950 Add newsfragment for #3416. 2024-01-25 15:31:01 +01:00
derekpierre 95ac122e49 Reduce the eagerness of the ActiveRitualTracker by having it scan for events every 2mins. instead of every 20s. 2024-01-25 15:31:01 +01:00
KPrasch c69017155a
newsfrag for PR #3361 2024-01-24 20:17:00 +01:00
David Núñez 9ee79bda00 Newsfragment for #3368 2024-01-24 15:55:35 +01:00
David Núñez d37bbf88bc Don't use gas strategies
Gas strategies are meant only for legacy transactions (pre-EIP1559). See https://web3py.readthedocs.io/en/stable/gas_price.html
2024-01-24 15:55:35 +01:00
KPrasch 6bc2d4bad2 include block height in the node's html status web page. 2024-01-24 11:45:21 +01:00
KPrasch 7f4da9ed1c newsfrag for PR #3408 2024-01-24 11:45:21 +01:00
KPrasch 2fe61f5cc3 include latest event scanner block in json status endpoint 2024-01-24 11:45:21 +01:00
KPrasch 99742def00
newsfrag for PR #3387 2024-01-23 20:55:45 +01:00
KPrasch 7bac254aae use the threshold favicon instead of nucypher to fix http 404ing on the node status web page. 2024-01-23 20:47:44 +01:00
KPrasch a58e11ea0b handle both pending and validated transactions when logging from parsed dkg storage. 2024-01-23 20:47:44 +01:00
KPrasch fd282fec5e newsfrag for PR #3406 2024-01-23 20:47:44 +01:00
KPrasch fb13103b14 fixes several log formatting issues. 2024-01-23 20:47:44 +01:00
Kieran Prasch 8af8133c2d utilize the flask test client on Ursula to integration test ipv4 resolution from flask request headers. 2024-01-23 19:21:26 +01:00
KPrasch 55f8b2102b respond to RFCs in PR #3398 2024-01-23 19:21:26 +01:00
KPrasch 8fe7beba2d newsfrag for PR #3398 2024-01-23 19:21:26 +01:00
KPrasch 5e63167dc9 skips a test that is planned for removal in #3382 2024-01-23 19:21:26 +01:00
KPrasch d06bb7af9a repairs a p2p validity test that implements /ping. Linting. 2024-01-23 19:21:26 +01:00
KPrasch 1f83e2c5ab baseline unit testing for ping ip utils 2024-01-23 19:21:26 +01:00
KPrasch 28a0cc750e removes (redundant) trusted proxy allow listing; documents incoming ip handling functions. 2024-01-23 19:21:26 +01:00
KPrasch fcaf99ee59 mock ipv4 address resolution in MockRestMiddleware 2024-01-23 19:21:26 +01:00
KPrasch e553014446 properly handle both ipv4 and ipv6 addresses 2024-01-23 19:21:26 +01:00
KPrasch a712706e7b adopt the 'global' language convention pertaining to public IPv4 addresses 2024-01-23 19:21:26 +01:00
KPrasch 527640170c renames _ipv4_to_ipv6 -> _ipv6_to_ipv4 2024-01-23 19:21:26 +01:00
KPrasch 28af3f9eda Handle public IPv4 address resolution for incoming requests via /ping 2024-01-23 19:21:26 +01:00
derekpierre 6163ff4d25 Add dev newwsfragment for #3405. 2024-01-23 15:54:46 +01:00
derekpierre eec504e54b Round up the value of batch size and thread pool size which are both decimal factors of the threshold; without rounding up small threshold values can experience slower decryption executions for associated ritual. 2024-01-23 15:54:46 +01:00
derekpierre ffb34ad6f8 Fix test since the number of successful decryption requests can vary because of concurrency, and how the threshold decryption client executes the requests in parallel (thread pool size etc.). 2024-01-23 15:54:46 +01:00
derekpierre edc4f939c1 Make last scanned block metric a class variable on ActiveRitualTracker. 2024-01-23 13:27:35 +01:00
derekpierre 8535e628c7 Added metric for tracking last scanned block by ritual tracker scanner task.
Added test.
2024-01-23 13:27:35 +01:00
derekpierre 931cdde08e Use prometheus Summary metric for decryption request count/sum instead of Counter for richer metrics including time taken. 2024-01-23 13:27:35 +01:00
derekpierre c974b94b18 Add test for starting prometheus exporter. 2024-01-23 13:27:35 +01:00
derekpierre d4651d678b Update "active_stake" value to be denominated in ether and not wei. 2024-01-23 13:27:35 +01:00
derekpierre 205e94f6fa Remove unnecessary fixture as parameter from test. 2024-01-23 13:27:35 +01:00
derekpierre 4b5e128936 Add tests for PrometheusMetricsTracker. 2024-01-23 13:27:35 +01:00
derekpierre 6abd173bd6 Check decryption requests metrics values during ritual acceptance test. 2024-01-23 13:27:35 +01:00
derekpierre 18764d7a08 Add specific metric for decryption successes. Renamed metric from errors to failures. 2024-01-23 13:27:35 +01:00
derekpierre f9bbfc9a9e Add newsfragment for #3397. 2024-01-23 13:27:35 +01:00
derekpierre 3a191041de Increase robustness of prometheus metrics task by implementing a PrometheusMetricsTracker. 2024-01-23 13:27:35 +01:00
derekpierre 720f133693 Move mock_prometheus out of fixtures and into conftest for integration tests to reduce scope now that prometheus is optional. 2024-01-23 13:27:35 +01:00
derekpierre 667ccbe389 Rename key for discovery status gauge. 2024-01-23 13:27:35 +01:00
derekpierre e9ea0ddb23 Use the correct registry object to unregister some collectors. 2024-01-23 13:27:35 +01:00
derekpierre 5171c012ca Add prometheus metrics for tracking threshold decryption requests and errors. 2024-01-23 13:27:35 +01:00
derekpierre c76ef13f9d Improve help text for --metrics-interval cli parameter. 2024-01-23 13:27:35 +01:00
derekpierre 31cf9c646d Add newsfragment for #3388. 2024-01-23 13:27:35 +01:00
derekpierre ec22fcbc49 Fix comment. 2024-01-23 13:27:35 +01:00
derekpierre 0cecdef487 Add test for OperatorMetricsCollector. 2024-01-23 13:27:35 +01:00
derekpierre e3bbd84ffd Create OperatorMetricsCollector to collect data about matic balance and operator confirmation (better to check confirmation on child application).
Move operator confirmation metric from StakingProviderInfo collector to Operator collector.
2024-01-23 13:27:35 +01:00
derekpierre 236e03343f Rename existing metrics values to remove _gauge suffix. 2024-01-23 13:27:35 +01:00
derekpierre 5fef462501 Update prometheus test for non-default interval collection. 2024-01-23 13:27:35 +01:00