This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-07-05
Channels
- # announcements (1)
- # asami (21)
- # aws (19)
- # babashka (37)
- # beginners (38)
- # clj-kondo (7)
- # clj-otel (8)
- # clojure (29)
- # clojure-europe (54)
- # clojure-nl (3)
- # clojure-spec (2)
- # clojure-uk (2)
- # clojurescript (15)
- # conjure (1)
- # data-science (1)
- # datomic (21)
- # emacs (6)
- # events (3)
- # figwheel-main (1)
- # gratitude (13)
- # holy-lambda (11)
- # joyride (6)
- # klipse (3)
- # malli (14)
- # missionary (26)
- # nbb (31)
- # omni-trace (2)
- # pathom (3)
- # reagent (1)
- # reitit (1)
- # releases (1)
- # shadow-cljs (24)
- # sql (27)
- # tools-deps (4)
- # vim (21)
📣 clj-otel
release 0.1.4 is out:
• Added support for including source code semantic attributes when creating spans. By default, attributes identifying the namespace, line number and source file path are included in spans created by with-span!
, with-span-binding
, and async-span
• Updated Pedestal HTTP server span support to always add route data to server spans
• Bumped OpenTelemetry deps to 1.15.0. This has prompted all modules clj-otel-exporter-otlp-*
to be merged to a new module clj-otel-exporter-otlp
• Bumped (optional) gRPC dep to 1.47.0
• Bumped various build deps
@danieljomphe You may be interested to try out the added support for source code semantic attributes. CODE_NAMESPACE
, CODE_FILEPATH
and CODE_LINENO
are now automatically added by all clj-otel
functions that create spans. I failed to find a satisfactory way to add CODE_FUNCTION
though, so you'll need to add that manually if you need it.
Thanks Steffan! Back from vacation now, I'll be sure to check this out in 0.1.4 soon.
Finally going ahead with this bump. So the impact on our deps.edn is the following.
And the project seems to work just fine with the new code, too. Thanks Steffan
I decided to not trim it for now, to split the impact of the upgrade. Recently we don't observe much things with otel but when we do more of that (soon, I think), I'll try trimming it down to see if it works fine with the default attributes you added.