Skip to content

Commit

Permalink
fix: adds missing docs, triggers CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Figedi committed Jun 3, 2024
1 parent 4412c74 commit 96397ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/MeteringRecorder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ export { Registry as PrometheusRegistry } from "prom-client"
export class MeteringRecorder {
public client!: typeof promClient;
public register!: Registry;

private prefix!: string;

// creates a new MeteringRecorder with an optional registry (e.g. for concurrent setups)
constructor(prefix: string, registry: Registry) {
this.prefix = prefix.endsWith("__") ? prefix : `${prefix}__`;
this.client = promClient;
Expand Down

0 comments on commit 96397ac

Please sign in to comment.