Fork me on GitHub
#announcements
<
2022-05-15
>
niquola09:05:16

Pure-clojure zero-deps prometheus client https://github.com/HealthSamurai/prometheus.clj

๐ŸŽ‰ 24
โค๏ธ 5
๐Ÿ‘ 4
Mark Wardle18:05:27

Is this also a recommendation for Prometheus in production? ๐Ÿ™‚

niquola21:08:59

We use it in many installations :)

๐Ÿ‘ 1
oddsor18:08:49

Just thought Iโ€™d perform a bit of necromancy on this thread to say that I just tested this library on my little Babashka-powered webserver that feeds Grafana Prometheus with temperature values. Seems to work great so far!

๐Ÿ‘ 1
serioga19:05:12

Beta version of the fitter โ€” new system components library https://github.com/strojure/fitter

๐Ÿ‘ 6
Joshua Suskalo14:05:46

Have you considered writing a tradeoffs section of the readme explaining where this library may fit better into an application than the alternatives

๐Ÿ‘ 2
1
๐Ÿ™ 2
metasoarous21:05:09

Agreed. More generally, the Design goals section could probably be expanded on a bit to give us a moral sense of where the library is coming from.

metasoarous21:05:30

I'm noticing some interesting ideas here; I like how what a component is is kind of flexible.

metasoarous21:05:13

The other thing I find interesting is "suspend". I'm curious; what's your rationale or use case for this?

serioga17:05:09

Oops, sorry, did not see notifications...

serioga17:05:11

@U5NCUG8NR maybe, when release version will be ready.

Joshua Suskalo17:05:08

Oh, since you announced it in #announcements I assumed this was a release version.

serioga17:05:14

@U05100J3V the library is coming from some pain I've got from use of other libraries :-) And I create it firstly for my personal needs

๐Ÿ‘ 1
serioga17:05:57

@U5NCUG8NR it was a release of beta version :-)

metasoarous17:05:02

Looking forward to seeing updates on it

serioga17:05:58

@U05100J3V about suspend. Integrant has suspend, I use it and I find it useful in some scenarios.

metasoarous21:05:57

OK; Thanks. I didn't realize integrant had that already. I guess if there's a cheaper way to pause processing or connectivity of some component, being able to plug in and use that as appropriate makes sense. I'm just curious to know more specifics of when you've found that handy, and if there's a particular flow you find yourself using with that.

serioga09:05:56

@U05100J3V my reloaded workflow in large applications means system restart on changes. Some components start slowly (hikary-cp, database migrations), and don't need restart most of the time if related configuration does not change. So I make such components suspendable.

๐Ÿ‘ 1
metasoarous17:05:06

Got it; Thanks.

serioga14:05:40

Hello @U05100J3V Would you like to help me to improve readme? I could answer all your questions then you provide suggestions what to add in the readme ๐Ÿ™‚ I'm not good in writing documentation...