This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-07-13
Channels
- # aleph (15)
- # announcements (4)
- # babashka (36)
- # babashka-sci-dev (1)
- # beginners (15)
- # biff (2)
- # calva (15)
- # cider (3)
- # clj-kondo (8)
- # clojure (149)
- # clojure-europe (14)
- # clojure-norway (13)
- # clojure-switzerland (1)
- # clojure-uk (1)
- # clojurescript (21)
- # community-development (5)
- # cursive (20)
- # data-science (2)
- # datomic (7)
- # duct (5)
- # emacs (19)
- # etaoin (3)
- # events (2)
- # fulcro (11)
- # introduce-yourself (2)
- # jobs (4)
- # jobs-discuss (19)
- # joyride (1)
- # leiningen (11)
- # malli (7)
- # membrane (131)
- # nbb (12)
- # nginx (1)
- # off-topic (33)
- # pathom (8)
- # polylith (28)
- # re-frame (8)
- # sci (7)
- # shadow-cljs (225)
- # spacemacs (10)
- # specter (1)
- # vim (10)
- # xtdb (8)
hi, stardust!
Good morning, citizens
Morning from vacation land. Here’s a thing we did recently. At Ardoq we have several engineering teams, and while every team is allowed and encouraged to change whatever code they need, there is still some sense of ownership, ie this ns “belongs” to that team. Furthermore, we monitor our logs for messages of level ERROR
. Now, up until recently, we’ve had one channel in slack production-alarms
which got a message every time there was an error in the logs. This is good, but not great, as every team spends time monitoring the production-alarms
channel. So, to fix this we added {:team "this-team"}
metadata to our ns-decls, and augmented our logging to add team info to the log information we send to our ELK stack. This way, we can have alerts pr team in slack 🙂
I guess the general learning here for me at least is that Clojure meta data is sometimes very useful, and the fact that you can attach meta data to most things is also very useful, but 🙂 meta data is also very opaque and fragile and should be used sparingly/with care :)
I love the use of metadata here! This seems like a great example of where we could use namespaced keywords to reduce the opacity.
^{:com.ardoq.slack.team/id "ABC123"}
My thinking is we're introducing a global name, owned by Ardoq, that's self-documenting enough that a fresh pair of eyes would know what we're describing.Good morning!
Morning, folks!
Morning folks! (I'm posting twice as I am stand-in for @slipset while he is on vacation :-))