derekpierre
e86e2b7cc6
Make enabling prometheus optional.
...
Allow metrics-port to be specified via cli option.
2024-01-23 13:27:35 +01:00
Manuel Montenegro
8c914ba30f
Remove redundant code in test_prometheus.py
2024-01-23 13:27:35 +01:00
Manuel Montenegro
40628ae991
Remove metrics prefix
2024-01-23 13:27:35 +01:00
Manuel Montenegro
ac1893cd50
Remove optional imports of Prometheus
...
Prometheus is now a dependency that is always installed along with
nucypher. For this reason, it doesn't make sense to check if Prometheus
is installed before importing it.
2024-01-23 13:27:35 +01:00
Kieran Prasch
6ca73c2849
remove lisence header from tests
2022-11-16 13:27:47 +00:00
derekpierre
e61cec703a
Fix stray prometheus imports/tests that should only be performed when prometheus_client is installed; prometheus is an optional dependency.
2021-05-21 14:27:33 -04:00
Kieran Prasch
d40c422ceb
Use absoute import paths for nucypher
2020-12-03 16:48:30 +03:00
derekpierre
e27f7ef482
Reduce the frequency of the prometheus metrics collection.
2020-10-16 13:06:28 -04:00
derekpierre
7a9c57dcb4
Ensure that --metrics-port is specified when --prometheus is used when running ursula.
...
Added/Cleaned up some tests
2020-09-14 10:23:16 -04:00
derekpierre
0180bc8625
Add unit test for BaseMetricsCollector.
2020-09-14 10:22:29 -04:00
derekpierre
f60aa70203
Fix failing unit test
2020-06-12 11:03:01 -04:00
derekpierre
6a578f034a
Fixed issues related to manual testing. General code cleanup.
...
I believe we are now on par with original functionality.
2020-06-09 14:13:32 -04:00
derekpierre
591d1cbec5
Fix Ursula typing and some general cleanup.
2020-06-09 08:50:18 -04:00
derekpierre
a37c5661df
Initial refactor of prometheus metric collection. Use of collection of individual metric collectors.
2020-06-09 08:50:18 -04:00
derekpierre
d282900bd0
Re-organize prometheus tests into the unit testing category
2020-06-09 08:50:18 -04:00
derekpierre
28b29edd70
Initial refactor of prometheus metrics configuration.
2020-06-09 08:50:18 -04:00