0000 1000 1101 0010
0000 1000 1101 0010
Sure, here's a pretty standard example of what I'm trying to reduce. ```shell @define PROGRAM="mysvc" @define SERVICE_USER="mysvcuser" @goal automated-build @depends_on artifact-defined export BUILDVER=$(git rev-parse --short HEAD 2>/dev/null || echo hack)...
Just to be clear, I completely respect and agree with your goal of keeping the tool laser-focused, and am completely happy with the preprocessor approach, so please don't feel like...
> . . . extract all changing parts to @define-s . . . I have a Makesurefile for each program that I want to provision, and there is a lot...
> Am I understanding correctly that the user of the lib is expected to reimplement the `Collector` trait such that calling `collect()` will do whatever is necessary to produce the...
> although [this example](https://github.com/prometheus/client_java/blob/master/simpleclient_hotspot/src/main/java/io/prometheus/client/hotspot/StandardExports.java) seems to be reading stuff (memory info) from an external system callLongGetter? Yeah, it's not obvious to me what that does, exactly... but I wouldn't take...
That example describes how a collector might be "bolted on" to a legacy system. It's not indicative of best practice. But the point is largely moot, I think.
I agree with @thomaseizinger that using `serde` directly is probably not the right approach. Prometheus defines a set of types (counter, gauge, histogram, summary) which can be encoded. Core Prometheus...
> While I do see value in users being able to bring their own metrics I'm probably missing something here, but this doesn't (immediately) make sense to me. Prometheus metrics...
@thomaseizinger > > I'm probably missing something here, but this doesn't (immediately) make sense to me. Prometheus metrics are types, not traits. A user type wouldn't _implement_ a counter, it...
> > Your counter implementation violates the Prometheus spec, I think, right? > > The OpenMetrics spec, sure. Other _prometheus_ clients [so far](https://github.com/prometheus/client_golang/issues/725) [don't care](https://github.com/prometheus/client_ruby/issues/189) about suffixes. The docs on...