diff options
| author | 2025-08-20 18:14:00 +0200 | |
|---|---|---|
| committer | 2025-08-20 18:14:00 +0200 | |
| commit | 1144ac037fcb4fd7ec9729c4e0846c6f7fe9a2ed (patch) | |
| tree | 22db33e09ffd7c2d4884c61b7776c0ca32344e98 /cmd/gotosocial/action/server/server.go | |
| parent | [bugfix] when clearing media metadata, copy all streams not just first (#4375) (diff) | |
| download | gotosocial-1144ac037fcb4fd7ec9729c4e0846c6f7fe9a2ed.tar.xz | |
[feature] add metrics for worker counts, and worker queue sizes (#4387)
should help to debug https://codeberg.org/superseriousbusiness/gotosocial/issues/4309
Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4387
Reviewed-by: Daenney <daenney@noreply.codeberg.org>
Co-authored-by: kim <grufwub@gmail.com>
Co-committed-by: kim <grufwub@gmail.com>
Diffstat (limited to 'cmd/gotosocial/action/server/server.go')
| -rw-r--r-- | cmd/gotosocial/action/server/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gotosocial/action/server/server.go b/cmd/gotosocial/action/server/server.go index 85f19b9db..f206d4dcd 100644 --- a/cmd/gotosocial/action/server/server.go +++ b/cmd/gotosocial/action/server/server.go @@ -392,7 +392,7 @@ func Start(ctx context.Context) error { } // Initialize metrics. - if err := observability.InitializeMetrics(ctx, state.DB); err != nil { + if err := observability.InitializeMetrics(ctx, state); err != nil { return fmt.Errorf("error initializing metrics: %w", err) } |
