iapetos icon indicating copy to clipboard operation
iapetos copied to clipboard

A Clojure Prometheus Client

Results 11 iapetos issues
Sort by recently updated
recently updated
newest added

Info metrics were added with first class support in [0.10.0](https://github.com/prometheus/client_java/releases/tag/parent-0.10.0) of the Prometheus Java client, see https://github.com/prometheus/client_java/pull/615 for the exact change. See https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#info in the OpenMetrics specification for more details.

I was trying to add the labels for JVM metrics but not sure how to add it. The original metrics output look like this by using code. ``` # HELP...

A number of ring internal methods are useful beyond their usage in purely ring apps (e.g. for writing a pedestal/reitit interceptor), such as [record-metrics!](https://github.com/clj-commons/iapetos/blob/master/src/iapetos/collector/ring.clj#L110). Since these are private, it's unreliable...

Is there a way to collect embedded jetty metrics ? I am interested in these metrics https://github.com/prometheus/client_java/blob/master/simpleclient_jetty/src/main/java/io/prometheus/client/jetty/JettyStatisticsCollector.java#L44 - Thanks

`ring` supports async [handlers](https://github.com/ring-clojure/ring/wiki/Concepts) and this PR aims to handle these. Please review it and decide whether it makes sense to include this feature to the library. Thanks

need-info
prio/middle-term
stale

Currently, when using `with-duration` it does not differentiate failed executions from successful ones. Since with-duration is probably around IO a failure is definitely interesting and IMO should be separated by...

Vaguely related to #11, I'm using Integrant and getting "Collector already registered that provides name: default_logic_process_duration_count" Should be an easy fix, I just need to see if the collector is...

need-investigation

I like the ideas behind `with-timestamps` and `with-counters` macros. However, their usage is harmed by having to manually assemble the composite collector maps of e.g. ```clojure (with-timestamps {:last-run (registry :app/last-run),...

question
need-investigation
design-change

Hi, I am having a little trouble using the default registry and instrumenting functions with it. At first I thought it was solely due to the fact that I use...

question

My use-case is rather straight forward, but I think it is generalizable, so I keep it that way. In a request-response scenario, I have a max amount of tokens. So...