announcements

igrishaev 2025-09-15T16:09:17.414539Z

There is a new library called https://github.com/igrishaev/pg-bin to parse Postgres COPY dumps made in binary format. Zero deps, various strategies to handle json(b) types. The readme file has some real scenarios when it's useful.

🎉 16
steffan 2025-09-15T20:29:50.729289Z

https://github.com/steffan-westcott/clj-otel release 0.2.9 is out. clj-otel provides an idiomatic Clojure API for adding telemetry to your libraries and applications using OpenTelemetry. Highlights of this release include: 🔭 Bumped OpenTelemetry deps to 1.54.0 📏 Async span support for core.async (e.g. async-style), CompletableFuture (e.g. promesa, auspex, whew), Manifold, Missionary 🔀 New example of an instrumented core.async.flow application 🌯 New middleware for wrapping spans; use to record exceptions before transformation 🪲 Fixed some bugs, more robust handling of Ring request maps 🗒️ See the https://github.com/steffan-westcott/clj-otel/blob/master/CHANGELOG.adoc for more information on changes in this release

2
🚀 17
ericdallo 2025-09-16T17:35:47.153169Z

Hey @steffan, any plans to support the logs API? I intend to add to #eca soon and would love to have that support if possible

ericdallo 2025-09-16T17:36:24.471399Z

something like https://github.com/clojure-lsp/clojure-lsp/blob/master/cli/src/clojure_lsp/server.clj#L102-L111 would already be quite handful

steffan 2025-09-16T20:54:23.839269Z

Yes, I'll likely be looking at the Logs API next, specifically programmatic provision of logging providers. After that I'll look at the logger itself, though right now I don't know if adding anything there would be helpful to application authors.

ericdallo 2025-09-16T20:57:24.107989Z

I see, thank you anyway!

ericdallo 2025-09-17T20:50:57.570819Z

FYI @steffan I https://github.com/editor-code-assistant/eca/commit/0011a1240ee24f8946a4ad3ca0185e28d88077cb#diff-09496ea4103e5cfb1a7097d90164f66f057a2907d9f2737347b0c6db34748375R1 clj-otel integration in #eca for the metrics api, it was quite smooth, thank you!

ericdallo 2025-09-17T20:53:35.235099Z

Actually found some possible graalvm issues https://github.com/editor-code-assistant/eca/actions/runs/17810271269/job/50632157870, will take a look

ericdallo 2025-09-17T20:55:00.034829Z

I believe https://github.com/steffan-westcott/clj-otel/blob/master/clj-otel-api/src/steffan_westcott/clj_otel/context.clj#L137-L152 is the issue, graalvm doesn't line defs with side effects, moving to defn would solve it

ericdallo 2025-09-17T21:02:57.179169Z

Fixed like https://github.com/editor-code-assistant/eca/commit/9d6eda5f0b60d4f0e38d305c93d4bdc85457fcbf, but it's pretty easy to break in future clj-otel changes, would be nice to improve on clj-otel side

steffan 2025-09-18T09:44:20.809539Z

Thank you for the report 👍🏼. I will look into this next, before the Logs API stuff. To my shame, I have not looked at GraalVM usage at all. I know OpenTelemetry Java instrumentation agent does not work with GraalVM native images, but without the agent, it ought to work just fine.