Re: [pcp-announce] Vector

"Martin Spier via Groups.io" <[email protected]>
Newsgroups gmane.comp.sysutils.pcp
Message-ID <[email protected]>
Hey folks, Martin here. I created Vector a while ago.

Chandana,
I believe the RPM package (and other distro packages too), only includes
the minified version of Vector, which is expected, since it's the one meant
for distribution. The documentation refers to file in the source, that
should be changed and built. Having said that, I've been considering a more
"pluggable" approach, where you could just drop a few files with the new
widgets somewhere, but that doesn't exist yet. If you have any questions
regarding Vector, drop by the Slack channel (
https://vectoross.test.netflix.net/).

Werner,
We fixed quite a few issues in that space a while ago, but if are aware of
any other bugs or have any suggestions on how to improve things, feel free
to open an issue on Github (https://github.com/Netflix/vector).

Cheers,

On Tue, Oct 18, 2016 at 10:57 AM, Henry Chang <[email protected]> wrote:

> 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/crea
>>> ting-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
>>>
>>>
>>>
>>>
>>
> 
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.