Skip to content

Commit

Permalink
change endpoint for proxied metrics to /metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
s4ke committed Jan 31, 2023
1 parent 5d957ba commit 6be2698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prometheus-proxy/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ if(process.env.PROMETHEUS_PROXY_CONFIG_FILE) {
}
config = JSON.parse(configContent);

app.get('/', async (req, res) => {
app.get('/metrics', async (req, res) => {
try {
res.setHeader('Content-Type', 'text/plain; version=0.0.4; charset=utf-8');
res.status(200);
Expand Down

0 comments on commit 6be2698

Please sign in to comment.