Skip to content

Commit

Permalink
fix: Incorrect New Relic API url used when posting metrics via Butler…
Browse files Browse the repository at this point in the history
…'s REST API

Fixes #468
  • Loading branch information
mountaindude committed May 20, 2022
1 parent 81e65ca commit 43c037a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/newrelic_metric.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async function handlerPostNewRelicMetric(request, reply) {
globals.logger.debug(`NEWRELIC METRIC: Payload: ${JSON.stringify(payload, null, 2)}`);

// Preapare call to remote host
const remoteUrl = globals.config.get('Butler.uptimeMonitor.storeNewRelic.url');
const remoteUrl = globals.config.get('Butler.restServerEndpointsConfig.newRelic.postNewRelicMetric.url');

// Add headers
const headers = {
Expand Down

0 comments on commit 43c037a

Please sign in to comment.