Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metric to track Postgres errors #1127

Open
matthughes opened this issue Sep 6, 2024 · 2 comments
Open

Metric to track Postgres errors #1127

matthughes opened this issue Sep 6, 2024 · 2 comments

Comments

@matthughes
Copy link
Contributor

matthughes commented Sep 6, 2024

I'd love a counter metric that tracked every Postgres error Skunk raises. I could take a stab at a PR if there is interest and you think this fits the project's goals.

@iRevive
Copy link
Contributor

iRevive commented Sep 7, 2024

https://opentelemetry.io/docs/specs/semconv/database/database-metrics/ - there are official database semantic conventions, but they are still in the 'experimental' / 'development' state.
But they should be marked stable, presumably this year.

We can follow the convention even for the draft implementation.

@iRevive
Copy link
Contributor

iRevive commented Sep 9, 2024

There is an experimental generation of instruments from semantic conventions: typelevel/otel4s#764.

If we merge it, we can use it to test the implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants