forked from hasura/graphql-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- [x] **Event Triggers Metrics** - [x] Distribution of size of event trigger fetches / Number of events fetched in the last `event trigger fetch` - [x] Event Triggers: Number of event trigger HTTP workers in process - [x] Event Triggers: Avg event trigger lock time (if an event has been fetched but not processed because http worker is not free) #### Sample response The metrics can be viewed from the `/dev/ekg` endpoint ```json { "num_events_fetched":{ "max":0, "mean":0, "count":1, "min":0, "variance":null, "type":"d", "sum":0 }, "num_event_trigger_http_workers":{ "type":"g", "val":0 }, "event_lock_time":{ "max":0, "mean":0, "count":0, "min":0, "variance":0, "type":"d", "sum":0 }, ``` #### Todo - [ ] Group similar metrics together (Eg: Group all the metrics related to Event trigger, How do we do it??) Closes: hasura/graphql-engine-mono#202 GitOrigin-RevId: bada11d
- Loading branch information
1 parent
5a1f71b
commit f55df22
Showing
5 changed files
with
53 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters