How to implement a custom search for Hugo usig Gruntjs and Lunrjs.
Install the following tools:
Line listeners
SHORT .. line listeners:
root@83d5eeeb3086:/opt/graphite/conf# grep -B1 LINE_RECEIVER carbon.conf
LINE_RECEIVER_INTERFACE = 127.0.0.1
LINE_RECEIVER_PORT = 2003
--| Carbon relay - performance | |
| alias(color(sumSeries(group(carbon.agents.*.updateOperations)), "blue"),"Updates") | |
| alias(color(sumSeries(group(carbon.agents.*.metricsReceived)), "green"), "Metrics Received") | |
| alias(color(sumSeries(group(carbon.agents.*.committedPoints)),"orange"),"Committed Points")) | |
| alias(secondYAxis(color(sumSeries(group(carbon.agents.*.pointsPerUpdate)),"yellow")),"PPU") | |
| alias(secondYAxis(color(averageSeries(group(carbon.agents.*.cpuUsage)),"red")),"CPU (avg)") | |
| alias(secondYAxis(color(sumSeries(group(carbon.agents.*.creates)),"purple")),"Creates") | |
| Metrics received | |
| carbon.agents.*.metricsReceived |
| #!/bin/bash | |
| JQPATH=$(which jq) | |
| if [ "x$JQPATH" == "x" ]; then | |
| echo "Couldn't find jq executable." 1>&2 | |
| exit 2 | |
| fi | |
| set -eu | |
| shopt -s nullglob |