diff --git a/qryn_bun.mjs b/qryn_bun.mjs index bffb00e2..6153f796 100644 --- a/qryn_bun.mjs +++ b/qryn_bun.mjs @@ -247,7 +247,8 @@ export default async() => { '/api/v1/prom/remote/write', '/api/prom/remote/write', '/prom/remote/write', - '/api/v1/write' + '/api/v1/write', + '/api/prom/push' ] for (const path of remoteWritePaths) { fastify.post(path, promWriteHandler, { diff --git a/qryn_node.js b/qryn_node.js index eef0d569..57057fa2 100755 --- a/qryn_node.js +++ b/qryn_node.js @@ -99,7 +99,8 @@ let fastify = require('fastify')({ '/api/prom/remote/write', '/prom/remote/write', '/loki/api/v1/push', - '/api/v1/write' + '/api/v1/write', + '/api/prom/push' ] fastify.addHook('preParsing', (request, reply, payload, done) => { if (snappyPaths.indexOf(request.routeOptions.url) !== -1) {