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
- Group domains (#1292) Let add groups also for domains metrics. Fixes #1290 and part of #1289 — committed to sitespeedio/sitespeed.io by soulgalore 8 years ago
- Possibility to send asset toplists to Graphite (#1301) Restructure the toplist (largest/slowest/aggregated assets) to follow the message key structure with summary/pageSummary to simplify key generat... — committed to sitespeedio/sitespeed.io by soulgalore 8 years ago
- replace ? & in graphite keys #1289 — committed to sitespeedio/sitespeed.io by soulgalore 8 years ago
- Change keys for PageXray assets to use URL instead of array position The keys for assets in PageXray is broken when we send it to Graphite, because we cannot identify which asset we send, instead of ... — committed to sitespeedio/sitespeed.io by soulgalore 8 years ago
- Change keys for PageXray assets to use URL instead of array position (#1341) The keys for assets in PageXray is broken when we send it to Graphite, because we cannot identify which asset we send, ins... — committed to sitespeedio/sitespeed.io by soulgalore 8 years ago
- Change keys for PageXray assets to use URL instead of array position (#1341) The keys for assets in PageXray is broken when we send it to Graphite, because we cannot identify which asset we send, ins... — committed to sitespeedio/sitespeed.io by soulgalore 8 years ago
I’ll try fix this tonight and then we can release 4.0.2.