Kasia Kucharczyk created BEAM-6175:
--------------------------------------
Summary: Extract reader and publisher from MetricsMonitor in
Python Load Test utils
Key: BEAM-6175
URL: https://issues.apache.org/jira/browse/BEAM-6175
Project: Beam
Issue Type: Improvement
Components: testing
Reporter: Kasia Kucharczyk
Assignee: Kasia Kucharczyk
For load tests metrics (load_test_utils.py) flexibility purposes, two classes
should be extracted from MetricsMonitor class:
* MetricsReader - will only query the metrics by specific names/namespaces and
return a Map of keys and metric values for a namespace
* MetricsPublisher - as a set of "Publishers". Each publisher then could
publish() to separate medium (BigQueryClient/console/others)
This would make it even easier to extend this code in the future.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)