prometheus-client-c icon indicating copy to clipboard operation
prometheus-client-c copied to clipboard

A Prometheus Client in C

Results 42 prometheus-client-c issues
Sort by recently updated
recently updated
newest added

Fix build issues when compiling in MacOS. 1/ atomic_compare_exchange_weak expects a double* and not an Atomic double*. 2/ The microhttpd handler return value is MHD_Result instead of int. I didn't...

I used the Prometheus C client in a high performance network server application. Each server request increments a few prometheus counters (request count, bytes transferred, etc) and observes a few...

This MR fixes broken builds against newer `libmicrohttpd` versions while remaining compatible with the older ones. The change was introduced [back in April](https://git.gnunet.org/libmicrohttpd.git/tree/ChangeLog) last year by the upstream: > Wed...

This way the project can be included as a meson subproject in Open5GS.

This commit adds a new function, `promhttp_start_daemon_with_options()`, which exposes the variadic options interface of `MHD_start_daemon()` to applications using prometheus-client-c. This would allow applications to e.g. bind to a specific IP...

Changing main.c to ``` while(done == 0) { sleep(1); } ``` reduces it to 0%. No doubt there's a better way.

Can you please adjust it to be able to upload, and upload them?

When trying to compile against newer `libmicrohttpd` versions it fails with the following errror: ``` [ 95%] Building C object promhttp/CMakeFiles/promhttp.dir/src/promhttp.c.o cd //obj-x86_64-linux-gnu/promhttp && /usr/bin/cc -Dpromhttp_EXPORTS -I//promhttp/include -I// promhttp/../prom/include -I//promhttp/src...

Hi, Building with `make` led me to the error below: ``` gopath/src/github.com/golang-jwt/jwt/ecdsa.go:135:4: r.FillBytes undefined (type *big.Int has no field or method FillBytes) gopath/src/github.com/golang-jwt/jwt/ecdsa.go:136:4: s.FillBytes undefined (type *big.Int has no field...