gotosocial/vendor/github.com
tobi 82216281ce [chore/docs] Fix Prometheus metric names for Gin, include example Grafana dash, update docs (#4443)
# Description

> If this is a code change, please include a summary of what you've coded, and link to the issue(s) it closes/implements.
>
> If this is a documentation change, please briefly describe what you've changed and why.

This pull request updates some of our inconsistent metric naming, and adds an example Grafana dashboard using all the most up-to-date metrics names, and updates our docs to describe the latest way of setting up metrics.

Closes https://codeberg.org/superseriousbusiness/gotosocial/issues/4362
Closes https://codeberg.org/superseriousbusiness/gotosocial/issues/4055

## Checklist

Please put an x inside each checkbox to indicate that you've read and followed it: `[ ]` -> `[x]`

If this is a documentation change, only the first checkbox must be filled (you can delete the others if you want).

- [x] I/we have read the [GoToSocial contribution guidelines](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md).
- [x] I/we have discussed the proposed changes already, either in an issue on the repository, or in the Matrix chat.
- [x] I/we have not leveraged AI to create the proposed changes.
- [x] I/we have performed a self-review of added code.
- [x] I/we have written code that is legible and maintainable by others.
- [x] I/we have commented the added code, particularly in hard-to-understand areas.
- [x] I/we have made any necessary changes to documentation.
- [ ] I/we have added tests that cover new code.
- [x] I/we have run tests and they pass locally with the changes.
- [x] I/we have run `go fmt ./...` and `golangci-lint run`.

Co-authored-by: kim <grufwub@gmail.com>
Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4443
Reviewed-by: kim <gruf@noreply.codeberg.org>
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Co-committed-by: tobi <tobi.smethurst@protonmail.com>
2025-09-18 16:48:45 +02:00
..
asaskevich/govalidator [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
aymerick/douceur Grand test fixup (#138) 2021-08-12 21:03:24 +02:00
beorn7/perks [feature] Initial Prometheus metrics implementation (#2334) 2023-11-20 16:43:55 +01:00
boombuler/barcode [feature] add TOTP two-factor authentication (2FA) (#3960) 2025-04-07 16:14:41 +02:00
buckket/go-blurhash migrate go version to 1.17 (#203) 2021-09-10 14:42:14 +02:00
bytedance/sonic [chore] update go dependencies (#4304) 2025-06-30 15:19:09 +02:00
cenkalti/backoff/v5 [chore] bump dependencies (#4406) 2025-09-04 15:29:27 +02:00
cespare/xxhash/v2 [chore]: Bump github.com/prometheus/client_golang from 1.19.1 to 1.20.0 (#3210) 2024-08-19 10:13:46 +00:00
cloudwego/base64x [chore]: Bump github.com/gin-contrib/gzip from 1.2.2 to 1.2.3 (#4000) 2025-04-14 09:43:56 +02:00
coreos/go-oidc/v3 [chore] update dependencies (#4361) 2025-08-10 15:05:54 +02:00
davecgh/go-spew Grand test fixup (#138) 2021-08-12 21:03:24 +02:00
DmitriyVTitov/size [feature] simpler cache size configuration (#2051) 2023-08-03 11:34:35 +02:00
dsoprea [chore] add back exif-terminator and use only for jpeg,png,webp (#3161) 2024-08-02 12:46:41 +01:00
dustin/go-humanize [chore]: Bump github.com/minio/minio-go/v7 from 7.0.48 to 7.0.49 (#1567) 2023-02-27 10:21:58 +01:00
felixge/httpsnoop [chore] Bump go swagger (#2871) 2024-04-26 11:31:10 +02:00
fsnotify/fsnotify [chore] update dependencies (#4423) 2025-09-09 16:12:29 +02:00
gabriel-vasile/mimetype [chore] update go dependencies (#4304) 2025-06-30 15:19:09 +02:00
gin-contrib [chore] update go dependencies (#4304) 2025-06-30 15:19:09 +02:00
gin-gonic/gin [chore] update dependencies (#4188) 2025-05-22 16:27:55 +02:00
go-errors/errors [chore] add back exif-terminator and use only for jpeg,png,webp (#3161) 2024-08-02 12:46:41 +01:00
go-ini/ini [chore]: Bump github.com/minio/minio-go/v7 from 7.0.72 to 7.0.73 (#3083) 2024-07-08 07:59:07 +00:00
go-jose/go-jose/v4 [chore] bump dependencies (#4406) 2025-09-04 15:29:27 +02:00
go-logr [chore] update go dependencies (#4304) 2025-06-30 15:19:09 +02:00
go-openapi [chore] Bump go swagger (#2871) 2024-04-26 11:31:10 +02:00
go-playground [chore]: Bump github.com/gin-contrib/gzip from 1.2.2 to 1.2.3 (#4000) 2025-04-14 09:43:56 +02:00
go-swagger/go-swagger [chore] update go dependencies (#4304) 2025-06-30 15:19:09 +02:00
go-viper/mapstructure/v2 [chore] update dependencies (#4423) 2025-09-09 16:12:29 +02:00
go-xmlfmt/xmlfmt [chore] add back exif-terminator and use only for jpeg,png,webp (#3161) 2024-08-02 12:46:41 +01:00
goccy/go-json [chore]: Bump github.com/minio/minio-go/v7 from 7.0.85 to 7.0.86 (#3803) 2025-02-17 11:42:50 +00:00
golang/geo [chore] add back exif-terminator and use only for jpeg,png,webp (#3161) 2024-08-02 12:46:41 +01:00
golang-jwt/jwt/v5 [chore] bump to code.superseriousbusiness.org/oauth2/v4@ssb-v4.5.3-2 (#4367) 2025-08-12 16:04:30 +02:00
google [chore]: Bump github.com/google/go-cmp from 0.6.0 to 0.7.0 (#3826) 2025-02-25 12:48:22 +01:00
gorilla [chore]: Bump github.com/gin-contrib/sessions from 1.0.2 to 1.0.3 (#4033) 2025-04-22 12:35:14 +02:00
grafana/regexp [chore] bump dependencies (#4339) 2025-07-22 18:00:27 +02:00
grpc-ecosystem/grpc-gateway/v2 [chore] update dependencies (#4196) 2025-05-26 16:13:55 +02:00
huandu/xstrings [chore] Bump go swagger (#2871) 2024-04-26 11:31:10 +02:00
imdario/mergo [chore] Bump go swagger (#2871) 2024-04-26 11:31:10 +02:00
inconshreveable/mousetrap [chore]: Bump github.com/spf13/cobra from 1.6.1 to 1.7.0 (#1686) 2023-04-10 12:14:21 +02:00
jackc [chore] update dependencies (#4422) 2025-09-08 20:53:25 +02:00
jessevdk/go-flags [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
jinzhu/inflection migrate go version to 1.17 (#203) 2021-09-10 14:42:14 +02:00
josharian/intern [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
json-iterator/go Update dependencies (#333) 2021-11-27 15:26:58 +01:00
k3a/html2text [bugfix] Use better plaintext representation of status for filtering (#3301) 2024-09-16 14:00:23 +02:00
KimMachineGun/automemlimit [chore] bump dependencies (#4339) 2025-07-22 18:00:27 +02:00
klauspost [chore] bump dependencies (#4339) 2025-07-22 18:00:27 +02:00
kr [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
leodido/go-urn [chore]: Bump github.com/gin-contrib/cors from 1.5.0 to 1.7.0 (#2745) 2024-03-11 10:12:06 +00:00
mailru/easyjson [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
Masterminds [chore] Bump go swagger (#2871) 2024-04-26 11:31:10 +02:00
mattn/go-isatty [chore] update bun + extras v1.1.16 -> v1.1.17 (#2534) 2024-01-15 14:08:07 +01:00
microcosm-cc/bluemonday [chore]: Bump github.com/microcosm-cc/bluemonday from 1.0.26 to 1.0.27 (#3081) 2024-07-08 07:34:39 +00:00
miekg/dns [chore] update dependencies (#4361) 2025-08-10 15:05:54 +02:00
minio [chore] bump dependencies (#4339) 2025-07-22 18:00:27 +02:00
mitchellh [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
modern-go Update dependencies (#333) 2021-11-27 15:26:58 +01:00
munnerz/goautoneg [chore]: Bump github.com/prometheus/client_golang from 1.19.1 to 1.20.0 (#3210) 2024-08-19 10:13:46 +00:00
ncruces [chore] update dependencies (#4422) 2025-09-08 20:53:25 +02:00
oklog/ulid Grand test fixup (#138) 2021-08-12 21:03:24 +02:00
pbnjay/memory [chore]: Bump github.com/KimMachineGun/automemlimit from 0.4.0 to 0.5.0 (#2560) 2024-01-22 09:35:23 +00:00
pelletier/go-toml/v2 [chore] update go dependencies (#4304) 2025-06-30 15:19:09 +02:00
philhofer/fwd [chore] update dependencies (#4188) 2025-05-22 16:27:55 +02:00
pkg/errors [feature] add rate limit middleware (#741) 2022-08-31 12:06:14 +02:00
pmezard/go-difflib Grand test fixup (#138) 2021-08-12 21:03:24 +02:00
pquerna/otp [chore] update dependencies (#4188) 2025-05-22 16:27:55 +02:00
prometheus [chore] bump dependencies (#4406) 2025-09-04 15:29:27 +02:00
puzpuzpuz/xsync/v3 bumps our uptrace/bun dependencies to v1.2.10 (#3865) 2025-03-03 10:42:05 +00:00
quasoft/memstore Grand test fixup (#138) 2021-08-12 21:03:24 +02:00
remyoudompheng/bigfft [chore] Update uptrace/bun and modernc/sqlite dependencies (#1598) 2023-03-06 11:00:53 +01:00
rivo/uniseg [feature] Push notifications (#3587) 2025-01-23 16:47:30 -08:00
rogpeppe/go-internal [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
rs/xid [chore]: Bump github.com/minio/minio-go/v7 from 7.0.75 to 7.0.76 (#3262) 2024-09-02 13:08:54 +02:00
sagikazarmark/locafero [chore] update dependencies (#4423) 2025-09-09 16:12:29 +02:00
SherClockHolmes/webpush-go [chore]: Bump github.com/SherClockHolmes/webpush-go from 1.3.0 to 1.4.0 (#3694) 2025-01-27 11:08:13 +00:00
shopspring/decimal [chore] Bump go swagger (#2871) 2024-04-26 11:31:10 +02:00
sourcegraph/conc [chore] update dependencies (#4423) 2025-09-09 16:12:29 +02:00
spf13 [chore] update dependencies (#4423) 2025-09-09 16:12:29 +02:00
stretchr/testify [chore] bump dependencies (#4406) 2025-09-04 15:29:27 +02:00
subosito/gotenv [chore] update viper version (#2539) 2024-01-17 14:54:30 +00:00
tdewolff [chore] update dependencies (#4422) 2025-09-08 20:53:25 +02:00
temoto/robotstxt [bug] respect X-Robots-Tag and robots.txt on api/v1/instance and nodeinfo (#3756) 2025-02-11 13:16:14 +01:00
tetratelabs/wazero [chore]: Bump github.com/tetratelabs/wazero from 1.8.2 to 1.9.0 (#3827) 2025-02-25 12:48:02 +01:00
tinylib/msgp [chore] update dependencies (#4188) 2025-05-22 16:27:55 +02:00
tmthrgd/go-hex Grand test fixup (#138) 2021-08-12 21:03:24 +02:00
tomnomnom/linkheader [chore] update dependencies (#4386) 2025-08-21 16:41:50 +02:00
toqueteos/webbrowser [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
twitchyliquid64/golang-asm [chore] Update gin to v1.9.0 (#1553) 2023-02-25 12:12:40 +00:00
ugorji/go/codec [chore] update go dependencies (#4304) 2025-06-30 15:19:09 +02:00
ulule/limiter/v3 [chore]: Bump github.com/KimMachineGun/automemlimit from 0.2.6 to 0.3.0 (#2165) 2023-08-28 06:59:08 +00:00
uptrace [chore] bump dependencies (#4339) 2025-07-22 18:00:27 +02:00
vmihailenco [chore] update bun + extras v1.1.16 -> v1.1.17 (#2534) 2024-01-15 14:08:07 +01:00
wagslane/go-password-validator migrate go version to 1.17 (#203) 2021-09-10 14:42:14 +02:00
yuin/goldmark [chore] update dependencies (#4361) 2025-08-10 15:05:54 +02:00