You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`go-githubapp` uses [rcrowley/go-metrics][] to provide metrics. GitHub clients
209
209
emit the metrics below if configured with the `githubapp.ClientMetrics`
@@ -220,13 +220,15 @@ middleware.
220
220
|`github.rate.limit[installation:<id>]`|`gauge`| the maximum number of requests permitted to make per hour, tagged with the installation id |
221
221
|`github.rate.remaining[installation:<id>]`|`gauge`| the number of requests remaining in the current rate limit window, tagged with the installation id |
222
222
223
-
If using [asynchronous dispatch](#asynchronous-dispatch) and the`githubapp.WithSchedulingMetrics` option
224
-
is set, these metrics are emitted:
223
+
When using [asynchronous dispatch](#asynchronous-dispatch), the
224
+
`githubapp.WithSchedulingMetrics` option emits the following metrics:
225
225
226
226
| metric name | type | definition |
227
227
| ----------- | ---- | ---------- |
228
228
|`github.event.queue`|`gauge`| the number of queued unprocessed event |
229
229
|`github.event.workers`|`gauge`| the number of workers actively processing events |
230
+
|`github.event.dropped`|`counter`| the number events dropped due to limited queue capacity |
231
+
|`github.event.age`|`histogram`| the age (queue time) in milliseconds of events at processing time |
230
232
231
233
Note that metrics need to be published in order to be useful. Several
232
234
[publishing options][] are available or you can implement your own.
0 commit comments