Skip to content

Commit

Permalink
fix: include some app info as a default metric
Browse files Browse the repository at this point in the history
  • Loading branch information
wkillerud committed Oct 3, 2024
1 parent 565feab commit 5c9fdcb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/podlet.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,18 @@ export default class PodiumPodlet {
});

versionGauge.set(1);

const podletGauge = this.metrics.gauge({
name: 'podium_podlet_application_info',
description: '@podium/podlet application info',
labels: {
name: this.name,
version: this.version,
has_fallback: Boolean(fallback),
},
});

podletGauge.set(1);
});

// @ts-ignore
Expand Down

0 comments on commit 5c9fdcb

Please sign in to comment.