Skip to content

Is this a good integration point for hs-opentelemetry-postgres-simple? #6

@tonyalaribe

Description

@tonyalaribe

Thanks for creating this library.

I use effectful and postgres-simple, but need to integrate observability, via https://github.com/iand675/hs-opentelemetry/tree/main/instrumentation/postgresql-simple

The implementation simply reexports the postgres-simple functions, but instrumented via OpenTelemetry.
To use it with this library, I would have to fork your library to change the imports. But observability is an important feature of libraries in other ecosystems, and I hope in Haskell too at some point.

What do you think about integrating it here?

An approach might be to go all in and use that, or to have a fallback, eg via CFP, so it's possible to disable and use the raw postgres-simple library. But what do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions