Graphite not showing labels when rendered using wildcards -


in order generate graphs in graphite, using url render api. url of form-

<ip>/render?&target=stats.beta.*.ip-10-0-0-179.counter.ant.*.*.succeeded&title=notification&linemode=connected

the graph have title, individual 5 lines not have alias. alias function doesn't work wildcards.

aliasbynode(serieslist, *nodes) works wildcards. function name quite confusing, splits key dots , takes i-th value specified second argument. indexed 0.

&target=aliasbynode(ganglia.*.cpu*.load5, 1)                             ^                             \ name series part 

you can specify multiple parts use lengend:

   aliasbynode(localhost.*.cpu-{system,user,wait}),0,2)                   ^           ^                   \-----------\-should take these 2 -> 'localhost-cpu-system' 

Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -