We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3940e22 commit 3ffa3bbCopy full SHA for 3ffa3bb
src/services/prometheus.ts
@@ -53,7 +53,7 @@ class PrometheusService {
53
throw new Error('PROMETHEUS_METRICS_SERVICE_URL is not set');
54
}
55
56
- const metrics = await this.registry.getMetricsAsJSON();
+ const metrics = await this.registry.metrics();
57
58
try {
59
await axios.post(process.env.PROMETHEUS_METRICS_SERVICE_URL, {
0 commit comments