RFC: TypeScript Prometheus Client for Deno

9 views
Skip to first unread message

justin....@gmail.com

unread,
Sep 29, 2020, 12:36:27 PM9/29/20
to Prometheus Users
I've created a Prometheus client in TypeScript for Deno (https://deno.land) I was going to publish under my work open source.  Opening the conversation for discussion to see if I need to do anything else.  It has tests for all the components (Histogram, Counter, Gauge, and PushGateway).  Currently there is no Summary metric, but will implement that shortly.

General usage:
```ts
import { MetricsManager } from 'https://deno.land/x/pro...@v0.1.4 const httpTotalRequests = MetricsManager.getCounter("http_requests_total") .with({ service: "web" }); 
  httpTotalRequests.inc();
  ```

Currently have it here:



Reply all
Reply to author
Forward
0 new messages