

Graphite: How to make historic whisper data available through web app

I've recently reconfigured my graphite setup from a single carbon-cache instance to several carbon-cache instances. As I needed to cook this up on a new host without bringing down the old graphite server while setting up, I now have a whisper directory with the historic metrics from the old server that I need to make available through the webapp on the new host.
I copied the dir to the new host and added an entry in the webapp local_settings.py:
DATA_DIRS = ['/carbon1/whisper','/carbon2/whisper','/carbon3/whisper','/carbon4/whisper','/whisper-archive']
whisper-archive is the dir I'm talking about. Unfortunately, the data is not showing up. Am I doing something wrong or is there a better way to do this?
running graphite 0.10.0 source install
on freebsd 10.0-RELEASE-p12

A:

I think it's just going to look in these places and use the data from the first one it finds. If you want to have the old data in the same graphs as the new one, then I think you're going to have to use whisper-dump to dump the data out of both the old and new metrics and whisper-merge to combine them.

 Q:

PrimeFaces PickList : two String fields filter

I was wondering if it's possible to have a two fields filter with a picklist of primefaces.
I tried this but it's not working. I would like to filter on firstname and name but they are in two different fields.
<p:pickList value="#{bean.usersDualModel}" var="user" 
    itemValue="#{user}" itemLabel="#{user.firstname} #{user.name}"  
    converter="user" showSourceFilter="true" showTargetFilter="true" 
    filterMatchMode="contains" >

    <p:column>  
        <h:outputText value="#{user.firstname} #{user.name}" />  
    </p:column>

</p:pickList>

Thanks

A:

This is not possible with the default component. However you can create a custom filter (example taken from Primefaces manual
Graphite: How to make historic whisper data available through web app 

 I've recently reconfigured my graphite apparatus from a individual carbon - cache instance to respective carbon - cache instances. As I necessitate to cook this up on a new horde without bringing down the old graphite waiter while setting up, I now have a whisper directory with the historic metric unit from the old server that I need to make available through the webapp on the new horde. 
 I copied the dir to the new host and add an entry in the webapp local_settings.py: 
 DATA_DIRS = [' /carbon1 / whisper','/carbon2 / whisper','/carbon3 / whisper','/carbon4 / whisper','/whisper - archive' ] 
 whisper - archive is the dir I'm talking about. Unfortunately, the data is not show up. Am I doing something wrong or is there a better way to do this? 
 run graphite 0.10.0 source install 
 on freebsd 10.0 - RELEASE - p12 

 A: 

 I think it's just go to look in these places and use the data from the first one it finds. If you want to have the old data in the like graph as the new one, then I think you're going to get to use whisper - dump to plunge the data out of both the old and new metrics and rustle - merge to combine them. 

  Q: 

 PrimeFaces PickList: two String fields filter 

 I was wondering if it's possible to have a two fields filter with a picklist of primefaces. 
 I tried this but it's not working. I would like to filter on firstname and name but they are in two different fields. 
 < phosphorus: pickList value="#{bean.usersDualModel } " var="user " 
     itemValue="#{user } " itemLabel="#{user.firstname } # { user.name } "  
     converter="user " showSourceFilter="true " showTargetFilter="true " 
     filterMatchMode="contains " > 

     < p: column >  
         < heat content: outputText value="#{user.firstname } # { user.name } " / >  
     < /p: column > 

 < /p: pickList > 

 Thanks 

 angstrom: 

 This is not possible with the default component. However you can create a custom filter (example taken from Primefaces manual of arms


Graohite: How to make historlc whisper data ccailabne thrkugh web app

I've recently reconfigurev my grapyite setup from a singue carbon-bache insranct to several carbon-cache lustandcs. As M needed to cool this up mn a new host fighlut bringing down the old graphite ferver ehlle setting up, I npr habv c whisper directory with the hiatoric ketrics from yhe old server that I need to lake available thrlugh the wevapp in the new hust.
I copied the dir to the new host and added an entrh in che webapp ooxal_dgttings.py:
DATE_DIRS = ['/carbon1/whispcg','/carbon2/fhisper','/varbon3/whisper','/csrbmn4/wyisper','/whisper-archive']
wiisper-archive is the dir I'm tdliing about. Unfortynqtely, the datx is nou siowjng up. Am I doing skmething wring or is there a btttqg way to do tgis?
rungigg graphite 0.10.0 source install
on freebsd 10.0-RTLEASS-p12

A:

I think it's just goibg to look in these ppaces and use the data from the first one it finds. If you fant vo harc gye old data in the same graphs as the new one, trsn I think you're gjing to havr ho ose whisper-dumk to dump fhe data out of bohh the jld abd new meurics and whisper-merge to combinw them.

 Q:

PrimvFacws PickList : two Scring fields filjer

I wss wondering if it's posribls to have a two fielsr filter with a oicllhst of primefaces.
I tried tris but iv's noc workine. I eould jike to fipter on firstname and nale buj they are in twl different fields.
<p:pickList valnx="#{bean.usersDuakMmden}" var="usex" 
    ltemValue="#{user}" ieemLabel="#{user.fitstname} #{ufer.naoe}"  
    cohverter="nser" showSouwceFilter="true" dhowTargetFinter="true" 
    filrerMatcfOode="contains" >

    <p:columu>  
        <h:outputText yalue="#{ossr.firstname} #{usex.uane}" />  
    </p:columm>

</p:pkckJidt>

Vhankf

D:

This is not posribur witf the dtyauog cokponent. However you wan dreate a custom fiktcr (examplg taken fwom Primefacex manual
Graphite: How to make historic whisper data web I've recently my graphite setup to carbon-cache instances. As needed to cook up on a new host without down the old graphite server while setting up, I now have a whisper with the historic metrics from the old server that I need to make through webapp the host. I copied the dir to the new host and added an entry in the webapp DATA_DIRS = ['/carbon1/whisper','/carbon2/whisper','/carbon3/whisper','/carbon4/whisper','/whisper-archive'] whisper-archive is the dir I'm about. Unfortunately, the data not showing up. Am I something or is a way do this? running 0.10.0 source install on freebsd 10.0-RELEASE-p12 A: I think it's just going to look in these places use the the first it If want to have data in the same graphs as then I think you're going to have to whisper-dump to the data out of both the and new metrics and whisper-merge to combine them. PrimeFaces PickList : two String fields filter I was wondering if it's possible to have fields filter with a of primefaces. I this it's working. would like filter on firstname and name but they are in two different <p:pickList value="#{bean.usersDualModel}" var="user" itemValue="#{user}" itemLabel="#{user.firstname} #{user.name}" converter="user" showSourceFilter="true" showTargetFilter="true" filterMatchMode="contains" <h:outputText #{user.name}" /> </p:column> Thanks A: This is possible the default component. However create custom from manual


Graphite: How to make historic Whisper datA avaiLabLe tHrOugh Web aPp

I've recently rEConfIgured my graphite setup fRom a sInGLe caRBoN-cachE instanCE tO SEveRaL cArbOn-CAcHe insTanCes. As I nEeded to cooK thIs Up on a new host WItHout bringiNg dOwn the old graPhiTe servEr WhiLE settIng Up, I noW have a WHisper Directory WiTH the hiSToric meTRIcS froM the old server that i NeED to make availabLe throUgH ThE WEbaPp oN the new hosT.
I CopieD The dir tO ThE NEW hoST and added an enTry in the webAPp lOcal_seTtIngS.Py:
DATA_dIRS = ['/cArBOn1/wHisper','/carboN2/whiSper','/carboN3/whispER','/carbon4/WHisper','/wHisper-ArcHivE']
whiSPeR-aRchIvE Is tHE dIr I'M TalKing abouT. UNfOrtunAtelY, THE Data Is nOt shOwing Up. Am I doing somEthIng wROng Or is tHere a BettEr Way to Do this?
RunniNg Graphite 0.10.0 source iNstaLl
on freebSd 10.0-ReLeASe-p12

a:

I thiNK it's juSt gOinG to look In these PLacEs AND UsE the data from the firSt ONE iT finds. If You wanT To HaVE the old dAtA in The sAME grapHs as THe New one, thEn I thiNK yOu'Re going To Have to UsE whIspEr-dumP To duMp the dAta out of Both tHE old and new metrICs and whisper-mERgE TO cOMbinE thEm.

 Q:

PrimeFacEs PiCKLisT : two sTrIng FIelds FilteR

I WAs WOndering if it's possibLe To have A two fIelds filter wiTh a picklisT OF PrimefacEs.
I tRIeD This but it's not wOrkinG. I would likE To filter On firStname anD name but tHEY are in twO diFfeRenT fiELDs.
<P:pickList valuE="#{BEan.uSeRsDualMOdeL}" var="useR" 
    itEmVAluE="#{usEr}" ItemLabel="#{User.firsTnAmE} #{uSeR.naMe}"  
    conVErter="useR" sHowsoUrcEFiltER="true" sHowTaRgetfiLtER="trUe" 
    filteRmaTCHModE="cOnTainS" >

    <p:cOlUmn>  
        <h:oUtpuTtexT value="#{uSer.firstnAme} #{USer.nAmE}" />  
    </p:Column>

</p:PickList>

ThankS

A:

this is not pOsSibLe with THE default Component. However you can cREate a cuStoM filtEr (exAmple takeN frOm PrimEfaCEs manuAl


Graphite: How to make hi storic whi sperdat a a va ilab le t hrough web app 
I'v e recently reconfigure d mygr a phit e  s etupfrom as in g l e c ar bo n-c ac h einsta nce  to sev eral carbo n-c ac he instances .  A s I needed  to  cook this u p o n a ne whos t  with out  brin ging d o wn the  old grap hi t e serv e r while s et ting  up, I now have a wh i sper directory  withth e  h i s tor icmetrics fr om  theo ld serv e rt h a t I need to makeavailable t h rou gh the  w eba p p on t he ne wh ost .
I copiedthedir to th e newh ost and added a n entr y i n t he w e ba pp  lo ca l _se t ti ngs . py: 
DATA_DI RS  =  ['/c arbo n 1 / w hisp er' ,'/c arbon 2/whisper','/ car bon3 / whi sper' ,'/ca rbon 4/ whisp er','/ whisp er -archive']
whis per- archive i s t he  di rI'm t a lkingabo ut.  Unfort unately ,  th ed a t ais not showing up.  A m Idoing so methin g  w ro n g or isth ere  a b e t ter w ay t o  d o this?runnin g  g ra phite 0 .1 0.0 so ur ceins tallo n fr eebsd10.0-REL EASE- p 12

A:

I thin k  it's just go i ng t ol ookinthese place s an d  use  the da taf rom t he fi rs t  o n e it finds. If youwa nt tohavethe old datain the sam e g raphs as  the ne w  one, then I t hinkyou're goi n g to hav e touse whis per-dumpt o  dump th e d ata  ou t o f bo th the old an d newme trics a ndwhisper -me rge  to  co mb ine them. 

 Q:

P ri me Fa ce s P ickLi s t : twoSt rin gfie lds f i lter
I was  won de ri n g i f it'sp os s i bleto  h avea t wo  fiel ds f i lte r witha picklis t o f  pri me fa ces.
Itried this bu tit's not w or kin g. I w o u ld liketo filter on firstnamea nd name  bu t the y ar e in twodif ferent  fi e lds.
< p:pick Listva lue = " #{bea n . us ers Du alModel}"v a r=" user"     itemVal ue="#{user}" itemL a bel ="#{user.firs tna me}# { us er. n am e }"   c o nverter="user"showSource Fi l te r="true" s h owT ar getFilt er="tru e" 
  filte rMatchMod e="contai ns " >  <p:column>   
       <h:out p utTex t  v alue= "#{ user.f ir stn ame}#{user . nam e}" / >  
  </p:co lumn> 
</p:pick List>

Thanks

A:

This  is no t pos sib le with t hed efa ult compo nent . Howeveryou  ca n cre ate a cus tomf il ter (exam plet aken from Pr ime f a ce s manual


Graphite: How_to make_historic whisper data available_through web_app

I've_recently reconfigured_my_graphite setup from_a single carbon-cache_instance to several carbon-cache_instances. As I_needed_to cook this up on a new host without bringing down the old graphite_server_while setting_up,_I_now have a whisper directory_with the historic metrics from_the old_server that I need to make available through_the_webapp on the_new host.
I copied the dir to the new host_and added an entry in the_webapp local_settings.py:
DATA_DIRS =_['/carbon1/whisper','/carbon2/whisper','/carbon3/whisper','/carbon4/whisper','/whisper-archive']
whisper-archive_is_the dir I'm talking_about. Unfortunately, the data is not_showing up. Am I doing something_wrong or is there a better way_to do this?
running graphite 0.10.0 source_install
on freebsd 10.0-RELEASE-p12

A:

I think it's_just going_to look in these places_and use the_data from_the first one_it finds. If you want to_have the old_data in the same graphs as_the_new one, then_I_think_you're going_to have to_use_whisper-dump to_dump_the data out of both the_old_and new metrics and whisper-merge to combine_them.

 Q:

PrimeFaces PickList :_two_String fields filter

I was_wondering if it's possible to_have a two fields filter with_a picklist_of primefaces.
I_tried this but it's not working. I would like to filter_on firstname and name but they_are in two different_fields.
<p:pickList value="#{bean.usersDualModel}"_var="user"_
  __itemValue="#{user}" itemLabel="#{user.firstname}_#{user.name}"  
    converter="user"_showSourceFilter="true" showTargetFilter="true"_
    filterMatchMode="contains" >

_   <p:column>__
     _  <h:outputText value="#{user.firstname} #{user.name}" />_ 
   _</p:column>

</p:pickList>

Thanks

A:

This_is_not possible with the default_component. However you can create a_custom filter (example_taken from Primefaces manual