sentry-docs
sentry-docs copied to clipboard
Clarify docs about configuring Sentry metrics
Environment
self-hosted (https://develop.sentry.dev/self-hosted/)
Version
21.6.3
Steps to Reproduce
When i study sentry source code, i found it use metric.timing and metric.incr somewhere, i wonder how to get close to these metrics?
Metrics like:
metrics.timing(
"events.synthetic-monitoring.time-to-ingest-total",
now - data["timestamp"],
tags=tags,
sample_rate=1.0,
)
And i found relay can start a server to get these metrics, like metrics and collected metrics
Have a great day, bro.
Expected Result
A way to get metrics value which was collected by sentry.
Actual Result
No doc indicates i can do this.
Routing to @getsentry/open-source for triage. ⏲️
You need to configure a metrics backend with settings.SENTRY_METRICS_BACKEND
. There are adapters in the code base for statsd + datadog.
@markstory - Is there an update here that needs to be made to in docs.sentry.io or develop.sentry.dev?
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog
or Status: In Progress
, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
@imatwawana I don't think so. The internal metrics backend isn't something we generally expect self-hosted users to use or need to configure.