mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-22 19:51:02 +02:00
Make metrics uniform
This commit is contained in:
parent
0fbe6f6676
commit
3c5f6edc54
7 changed files with 48 additions and 28 deletions
|
|
@ -68,12 +68,22 @@ class Processor(AsyncProcessor):
|
|||
}
|
||||
)
|
||||
|
||||
config_request_metrics = ConsumerMetrics(id + "-config-request")
|
||||
config_response_metrics = ProducerMetrics(id + "-config-response")
|
||||
config_push_metrics = ProducerMetrics(id + "-config-push")
|
||||
config_request_metrics = ConsumerMetrics(
|
||||
processor = self.id, flow = None, name = "config-request"
|
||||
)
|
||||
config_response_metrics = ProducerMetrics(
|
||||
processor = self.id, flow = None, name = "config-response"
|
||||
)
|
||||
config_push_metrics = ProducerMetrics(
|
||||
processor = self.id, flow = None, name = "config-push"
|
||||
)
|
||||
|
||||
flow_request_metrics = ConsumerMetrics(id + "-flow-request")
|
||||
flow_response_metrics = ProducerMetrics(id + "-flow-response")
|
||||
flow_request_metrics = ConsumerMetrics(
|
||||
processor = self.id, flow = None, name = "flow-request"
|
||||
)
|
||||
flow_response_metrics = ProducerMetrics(
|
||||
processor = self.id, flow = None, name = "flow-response"
|
||||
)
|
||||
|
||||
self.config_request_consumer = Consumer(
|
||||
taskgroup = self.taskgroup,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue