clj-otel 2022-06-25

Hi @steffan! In the readme you write "There is presently no coverage of the Metrics or Logs API. Work on these will commence shortly." Did you already start working on this? Can I maybe already try it out?

clj-otel does not have Metrics or Logs support at the moment. The good news is work will start in this area over the next couple of weeks. I have been busy with personal issues which have slowed progress on clj-otel, but signs are that things should be resolved soon. I appreciate your patience in the meanwhile 🙂

🙏 1

The OpenTelemetry Metrics API has been declared stable fairly recently, although the SDK has not quite reached that milestone yet. When clj-otel was first released, the Metrics API was not stable so was not a great place to put much development focus. Now some stability is there, it's a better time to add Metrics support in clj-otel.

👍 2

I am using this interceptor:

(def add-route-data
  {:name ::add-route-data
   :enter (fn [context]
            (http/add-route-data! (-> context :route :path))
            context)})
Would that be a good fit to add to http/server-span-interceptors?

That is very interesting, I will look into that. Thank you for the heads up 🙂

Do you happen to know if this route information is always present irrespective of which router is used?

Thank you for including this in 0.1.4!

🙇🏻‍♂️ 1

My interpretation of this is that any implementation of the RouterSpecification protocol does this, but better read it yourself -- I do not know much about these internals of Pedestal.

@devurandom has joined the channel