Re: [pcp-announce] Vector
"Henry Chang" <[email protected]>
| Newsgroups | gmane.comp.sysutils.pcp |
|---|---|
| Message-ID | <[email protected]> |
Hi, To add custom widgets to vector, you have to write your own code in javascript, and put it in the vector js files. there is a separate and dedicated vector github repo / issues. https://github.com/netflix/vector There would need to be some understanding of javascript to be able to do this however. Thanks, -Henry On Tue, Oct 18, 2016 at 6:40 AM, Werner Keil <[email protected]> wrote: > Hi, > > I tried that during my work for an Automotive client earlier this year > monitoring the Jenkins nodes with PCP. > After running into too many problems like "JS library X was would not run > on the Target Linux OS or had a missing dependency" I gave up on the idea > and we used the Vector binary with the widgets provided out of the box. > Some also felt a bit buggy, e.g. changing the time-window from 2 minutes to > something else or the refresh interval did not seem to have any effect. It > did for the Graphite Web UI but then unlike Vector those based everything > on UTC not the local (GMT) time zone ;-| > > Cheers, > Werner > > > On Tue, Oct 18, 2016 at 11:49 AM, Chandana De Silva < > [email protected]> wrote: > >> Hi >> >> I have been playing around with Vector, and was wondering how to add a >> widget. >> >> The Getting Started guide (http://vectoross.io/docs/creating-widgets.html) >> refers to app/components/widget/widget.factory.js. But I can't find >> this directory in the RPM install ( pcp-webapp-vector-3.10.9-6.el6.noarch >> and pcp-webapp-vector-3.11.4-1.fc23.noarch). >> >> Is there some other doc I can read ?, or am I missing something ? I can >> see some fancy java scripts which seem to contain the default >> widgets /usr/share/pcp/webapps/vector/scripts, but not the directory >> mentioned. >> >> Also, can I confirm that you can access a remote pmwebd instance using >> vector (I tried and it seems to work) >> >> Thanks in advance >> >> >> >> > > >