How do you use Sentry?
Self-hosted / on-premises
SDK version
4.20.0
Laravel version
12.41.1
Steps to reproduce
- Use postgresql as database
- Enable performance tracing
- Make a few call
Expected result
- in /insights/backend/database/ in Sentry Self Hosted version 25.11.1 (its from Insight -> Backend -> Queries)
- The table is filled correctly
Actual result
- Observe the
Queries Per Minute and Average Duration graph is working, but empty table
- Observe in the actual span, the tag for
db.system is pgsql
I am a bit curious because on my instance (in k8s) it didnt show, digging a bit deeper I suspect its because of
|
'db.system' => $query->connection->getDriverName(), |
Meanwhile sentry use (as stated in the docs) https://docs.sentry.io/product/insights/backend/queries/#span-eligibility, which I think it use https://github.com/open-telemetry/semantic-conventions/blob/main/docs/db/database-spans.md, which doesnt have pgsql and that's why its not working on self-hosted,
Also this is working in sentry.io, But I don't know if I should raise there too,
For the time being I am trying to spun up fresh instance of sentry and try that first
How do you use Sentry?
Self-hosted / on-premises
SDK version
4.20.0
Laravel version
12.41.1
Steps to reproduce
Expected result
Actual result
Queries Per MinuteandAverage Durationgraph is working, but empty tabledb.systemispgsqlI am a bit curious because on my instance (in k8s) it didnt show, digging a bit deeper I suspect its because of
sentry-laravel/src/Sentry/Laravel/Tracing/EventHandler.php
Line 177 in 95f2542
Meanwhile sentry use (as stated in the docs) https://docs.sentry.io/product/insights/backend/queries/#span-eligibility, which I think it use https://github.com/open-telemetry/semantic-conventions/blob/main/docs/db/database-spans.md, which doesnt have
pgsqland that's why its not working on self-hosted,Also this is working in sentry.io, But I don't know if I should raise there too,
For the time being I am trying to spun up fresh instance of sentry and try that first