diff --git a/lib/plugins/graphite/index.js b/lib/plugins/graphite/index.js index 921e2b1290..49403fc44b 100644 --- a/lib/plugins/graphite/index.js +++ b/lib/plugins/graphite/index.js @@ -60,7 +60,6 @@ export default class GraphitePlugin extends SitespeedioPlugin { this.receivedTypesThatFireAnnotations = {}; this.make = context.messageMaker('graphite').make; this.sendAnnotation = options_.sendAnnotation; - this.proxyPath = options_.proxyPath; this.alias = {}; this.wptExtras = {}; this.usingBrowsertime = false; diff --git a/lib/plugins/graphite/send-annotation.js b/lib/plugins/graphite/send-annotation.js index 2f3d1b747b..66dc6dbc13 100644 --- a/lib/plugins/graphite/send-annotation.js +++ b/lib/plugins/graphite/send-annotation.js @@ -95,7 +95,7 @@ export function send( const postOptions = { hostname: options.graphite.webHost || options.graphite.host, port: options.graphite.httpPort || 8080, - path: options.graphite.proxyPath + '/events/', + path: options.graphite.proxyPath || '' + '/events/', method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded',