Closed jquick closed 1 month ago
24.9.0.dev0
aarch64
26.1.4
2.27.1
Setup self-hosted install Add statsd service to docker compose (used vector) Update sentry.conf.py to enable metrics:
sentry.conf.py
SENTRY_METRICS_BACKEND = 'sentry.metrics.statsd.StatsdMetricsBackend' SENTRY_METRICS_OPTIONS = { 'host': 'vector', 'port': 8125, }
Metrics are not showing up/being sent. I can go onto one of the sentry containers and manually send metrics via:
echo "deploys.test.myservice:1|c" | nc -w 1 vector 8125
This works as expected so connectivity looks to be fine.
I've been over the documentation but am confused on what may be wrong or If there are additional steps needed to enable metrics.
Thanks for your help!
Metrics start sending when backend is configured
Nothing is sent from what I can tell
No response
I fixed this. Sentry statsd is sent over UDP and not TCP. This was my mistake. It is working as expected now.
Self-Hosted Version
24.9.0.dev0
CPU Architecture
aarch64
Docker Version
26.1.4
Docker Compose Version
2.27.1
Steps to Reproduce
Setup self-hosted install Add statsd service to docker compose (used vector) Update
sentry.conf.py
to enable metrics:Metrics are not showing up/being sent. I can go onto one of the sentry containers and manually send metrics via:
This works as expected so connectivity looks to be fine.
I've been over the documentation but am confused on what may be wrong or If there are additional steps needed to enable metrics.
Thanks for your help!
Expected Result
Metrics start sending when backend is configured
Actual Result
Nothing is sent from what I can tell
Event ID
No response