sitespeed.io: Unable to push all metrics

Using the 4.0.1 docker image I’m trying to push all metrics into graphite to replicate the previous (3x) behaviour.

Unfortunately the documented --metrics.filter '*+' option results in an exception

[2016-10-31 10:18:21] 147 requests, 1645.72 kb, firstPaint: 0.18s (±0.01), DOMContentLoaded: 0.36s (±0), Load: 1.22s (±0.21), rumSpeedIndex: 0.55s (±0.01) (3 runs)
[2016-10-31 10:18:22] Send data to Graphite graphite-server:2003
[2016-10-31 10:18:22] Send data to Graphite graphite-server:2003
[2016-10-31 10:18:22] Send data to Graphite graphite-server:2003
[2016-10-31 10:18:22] Send data to Graphite graphite-server:2003
[2016-10-31 10:18:22] Send data to Graphite graphite-server:2003
[2016-10-31 10:18:22] Send data to Graphite graphite-server:2003
[2016-10-31 10:18:22] TypeError: Cannot read property 'replace' of undefined
    at keyPathFromMessage (/usr/src/app/lib/plugins/graphite/data-generator.js:30:41)
    at GraphiteDataGenerator.dataFromMessage (/usr/src/app/lib/plugins/graphite/data-generator.js:46:19)
    at Object.processMessage (/usr/src/app/lib/plugins/graphite/index.js:46:35)
    at queue.process (/usr/src/app/lib/support/queueHandler.js:157:57)
    at drainItem (/usr/src/app/node_modules/concurrent-queue/index.js:92:21)
    at Immediate.drain (/usr/src/app/node_modules/concurrent-queue/index.js:73:84)
    at runCallback (timers.js:637:20)
    at tryOnImmediate (timers.js:610:5)
    at processImmediate [as _immediateCallback] (timers.js:582:5)
[2016-10-31 10:18:22] Render HTML for 1 page(s)

and results in an empty configuredMetrics.txt file

Tryin --metrics.filter 'browsertime.*' 'pagexray.*' 'coach.*' 'assets.*' 'domains.*' also doesn’t seem to send all metrics.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 17 (11 by maintainers)

Commits related to this issue

Most upvoted comments

I’ll try fix this tonight and then we can release 4.0.2.