Record metrics #17

Merged
jeffreypicard merged 2 commits from jeffreypicard/8/add-prometheus-metrics into master 2021-10-21 14:32:43 +02:00
jeffreypicard commented 2021-10-15 23:28:25 +02:00 (Migrated from github.com)

There are a couple metrics that try to mirror the ones from python,
many of the python ones don't apply, and vice-versa.
closes #8

There are a couple metrics that try to mirror the ones from python, many of the python ones don't apply, and vice-versa. closes #8
jackrobison (Migrated from github.com) reviewed 2021-10-15 23:28:25 +02:00
lyoshenka (Migrated from github.com) approved these changes 2021-10-18 17:55:13 +02:00
lyoshenka (Migrated from github.com) commented 2021-10-18 17:52:21 +02:00

👍

:+1:
@ -173,8 +170,14 @@ func RoundUpReleaseTime(q *elastic.BoolQuery, rq *pb.RangeField, name string) *e
// 8) return streams referenced by repost and all channel referenced in extra_txos
lyoshenka (Migrated from github.com) commented 2021-10-18 17:53:39 +02:00

does calling Search really start a new session? seems like that should go somewhere else

does calling Search really start a new session? seems like that should go somewhere else
jeffreypicard (Migrated from github.com) reviewed 2021-10-18 18:07:01 +02:00
@ -173,8 +170,14 @@ func RoundUpReleaseTime(q *elastic.BoolQuery, rq *pb.RangeField, name string) *e
// 8) return streams referenced by repost and all channel referenced in extra_txos
jeffreypicard (Migrated from github.com) commented 2021-10-18 18:07:01 +02:00

Perhaps this is a misnomer, I wanted to replicate this metric https://github.com/lbryio/lbry-sdk/blob/master/lbry/wallet/server/session.py#L140 I figured that since each search is a grpc call that it would constitute a client "session" connected to the hub.

Perhaps this is a misnomer, I wanted to replicate this metric https://github.com/lbryio/lbry-sdk/blob/master/lbry/wallet/server/session.py#L140 I figured that since each search is a grpc call that it would constitute a client "session" connected to the hub.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/herald.go#17
No description provided.