Added netdata stack (#361)

* Added netdata stack

* Pump up version

* Set io.rancher.scheduler.global to true
This commit is contained in:
Òscar Casajuana 2016-12-16 23:00:27 +01:00 committed by Hussein Galal
parent cd8a0603ad
commit a6429ee899
4 changed files with 64 additions and 0 deletions

View File

@ -0,0 +1,11 @@
netdata:
image: titpetric/netdata:latest
labels:
io.rancher.scheduler.global: 'true'
cap_add:
- SYS_PTRACE
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
environment:
NETDATA_PORT: "${NETDATA_PORT}"

View File

@ -0,0 +1,13 @@
.catalog:
name: netdata
version: v1.4.0
description: Real-time performance monitoring, done right!
questions:
- variable: NETDATA_PORT
label: Port
description: Container port to access netdata
required: true
type: "int"
default: 19999
netdata:
scale: 1

View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="233px" height="54.667px" viewBox="0 0 233 54.667" enable-background="new 0 0 233 54.667" xml:space="preserve">
<g>
<path d="M5.256,27.182c0-3.601-0.072-6.553-0.288-9.433h5.617l0.36,5.761h0.144c1.728-3.313,5.761-6.553,11.521-6.553
c4.825,0,12.313,2.88,12.313,14.833V52.6h-6.336V32.51c0-5.616-2.088-10.297-8.064-10.297c-4.177,0-7.417,2.952-8.497,6.48
c-0.288,0.792-0.432,1.873-0.432,2.953V52.6H5.256V27.182z"/>
<path d="M48.744,36.327c0.144,8.569,5.617,12.097,11.953,12.097c4.537,0,7.272-0.792,9.649-1.8l1.08,4.537
c-2.232,1.008-6.049,2.16-11.593,2.16c-10.729,0-17.137-7.057-17.137-17.57c0-10.513,6.192-18.793,16.345-18.793
c11.377,0,14.401,10.009,14.401,16.417c0,1.296-0.144,2.304-0.216,2.952H48.744z M67.322,31.791
c0.072-4.033-1.656-10.297-8.785-10.297c-6.409,0-9.217,5.904-9.721,10.297H67.322z"/>
<path d="M88.92,7.74v10.009h9.073v4.825H88.92v18.793c0,4.32,1.224,6.769,4.752,6.769c1.656,0,2.88-0.216,3.672-0.432l0.288,4.752
c-1.224,0.504-3.168,0.864-5.617,0.864c-2.952,0-5.329-0.936-6.84-2.665c-1.8-1.872-2.448-4.968-2.448-9.073V22.574h-5.401v-4.825
h5.401V9.396L88.92,7.74z"/>
<path d="M134.786,1.476v42.124c0,3.097,0.072,6.625,0.288,9.001h-5.688l-0.288-6.048h-0.144c-1.944,3.888-6.192,6.84-11.881,6.84
c-8.425,0-14.905-7.128-14.905-17.713c-0.072-11.593,7.128-18.722,15.625-18.722c5.328,0,8.929,2.52,10.513,5.329h0.144V1.476
H134.786z M128.449,31.934c0-0.792-0.072-1.872-0.288-2.664c-0.936-4.032-4.393-7.345-9.145-7.345
c-6.553,0-10.441,5.761-10.441,13.465c0,7.057,3.456,12.889,10.297,12.889c4.248,0,8.137-2.808,9.289-7.561
c0.216-0.864,0.288-1.729,0.288-2.736V31.934z"/>
<path d="M164.592,52.6l-0.504-4.393h-0.216c-1.944,2.736-5.688,5.185-10.657,5.185c-7.057,0-10.657-4.968-10.657-10.009
c0-8.425,7.489-13.033,20.954-12.961v-0.72c0-2.88-0.792-8.065-7.921-8.065c-3.24,0-6.625,1.008-9.073,2.592l-1.44-4.176
c2.88-1.872,7.057-3.096,11.449-3.096c10.657,0,13.25,7.272,13.25,14.257v13.033c0,3.024,0.144,5.977,0.576,8.353H164.592z
M163.656,34.814c-6.913-0.144-14.761,1.08-14.761,7.849c0,4.104,2.736,6.049,5.977,6.049c4.536,0,7.417-2.88,8.424-5.833
c0.216-0.648,0.36-1.368,0.36-2.016V34.814z"/>
<path d="M187.343,7.74v10.009h9.073v4.825h-9.073v18.793c0,4.32,1.224,6.769,4.752,6.769c1.656,0,2.88-0.216,3.672-0.432
l0.288,4.752c-1.224,0.504-3.168,0.864-5.616,0.864c-2.952,0-5.329-0.936-6.84-2.665c-1.8-1.872-2.448-4.968-2.448-9.073V22.574
h-5.401v-4.825h5.401V9.396L187.343,7.74z"/>
<path d="M222.84,52.6l-0.504-4.393h-0.216c-1.944,2.736-5.688,5.185-10.657,5.185c-7.057,0-10.656-4.968-10.656-10.009
c0-8.425,7.488-13.033,20.953-12.961v-0.72c0-2.88-0.792-8.065-7.92-8.065c-3.24,0-6.625,1.008-9.073,2.592l-1.44-4.176
c2.881-1.872,7.057-3.096,11.449-3.096c10.657,0,13.249,7.272,13.249,14.257v13.033c0,3.024,0.145,5.977,0.576,8.353H222.84z
M221.904,34.814c-6.913-0.144-14.762,1.08-14.762,7.849c0,4.104,2.736,6.049,5.977,6.049c4.537,0,7.417-2.88,8.425-5.833
c0.216-0.648,0.36-1.368,0.36-2.016V34.814z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.3 KiB

4
templates/netdata/config.yml Executable file
View File

@ -0,0 +1,4 @@
name: Netdata
description: Real-time performance monitoring, done right!
version: v1.4.0
category: Monitoring