pcp
[Top] [All Lists]

Re: [pcp] GSOC 2016 idea for PCP

To: Lukas Berk <lberk@xxxxxxxxxx>
Subject: Re: [pcp] GSOC 2016 idea for PCP
From: Charles Cui <charles.cui1984@xxxxxxxxx>
Date: Tue, 8 Mar 2016 21:36:17 -0800
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=oC6PIPOTk0mL5STQN7XMFHgUvyWxMfRm/oxCodvjsvw=; b=siWpg7yp1P2IYegiDRLtwdtRq97whqoEM+lUXRDZ5z9DpvFmbm4pJWmON598DoNpM4 Qh1z8vAeqrcxIltNOnysihn9grcO76exe8mRd47fcg5sKJgBn9buZbnRwyI4Zugaff85 NLnuNmHHgNu5dTGEHzrtx+KtUjXguMisSoMSlDoXal40fbAwucOLYYaBp0+tPaaajsZ4 vywbPcsIIPEb2lDRHuGvw+IikDnMXH1CpmH9vmbap0CN0WMYQKzta+92OWs9fgQQyacJ ema5OwxZZUwVEUbUwDxuUzXMj27dcnheWCg0GdqDZ5vHEImxMZG8nKNcTpjHf8zNAghZ wEdQ==
In-reply-to: <87io0w794p.fsf@xxxxxxxxxx>
References: <CA+SXE9v2ExnLbnGfQJxeeJA1V6fJdNHcLyyo8-ZYHoaE25MSFQ@xxxxxxxxxxxxxx> <87si089svf.fsf@xxxxxxxxxx> <CA+SXE9tcjaMpz1BL8D_6PEAWte1YTPPBW_W7XUX1RBST=yML4w@xxxxxxxxxxxxxx> <874mcntvhv.fsf@xxxxxxxxxx> <CA+SXE9u6W16mmN9eEkQh=ZXwGFNGkwo-avqW+gNAyEoMvaoxew@xxxxxxxxxxxxxx> <CA+SXE9vODZDqMAnn8MKvxp7QRka+8S0-NYFbLjT1fp4FsndDyw@xxxxxxxxxxxxxx> <874mch8xsf.fsf@xxxxxxxxxx> <CA+SXE9tU==8M2AqthqwsjmrL9DqHh+M8koSSQEEfvoH=NvhWug@xxxxxxxxxxxxxx> <87io0w794p.fsf@xxxxxxxxxx>
Please find my comments below.

2016-03-08 17:06 GMT-08:00 Lukas Berk <lberk@xxxxxxxxxx>:
Hi Charles,

Charles Cui <charles.cui1984@xxxxxxxxx> writes:
[...]
>Â Â ÂAwesome, glad to hear things worked well. Did you happen to try
>Â Â Ârunning
>Â Â Âthe testsuite?
>
>
> If I understand correctly, it is tests under the qa folder, right?
> I am currently running it, and will post you my results later.

Yep. I might consider running it under the installed pcp-testuite
package (as the pcpqa user), instead of under the source tree.
Let me know how it fares. May I suggest running a quicker, './check -g
sanity -x flakey' run first, to make sure things are setup properly
before running a full testrun?
I add the pcpqa user into the system, and run test under the pcp-testsuite package.Â
When I run "./check -g sanity -x flakey" it has permission problem.Â
So, I issued the command with sudo, which executed without any errors.

In terms of the testsuite, (sudo ./check 000-)
some tests report problem like output mismatch, or some packages are not found(e,g, no docker binary found),
but most of these tests pass.Â
Do I need to investigate the test with problems and fix them? Â

[...]
>Â Â Âthe PCP community). Once we've gotten that working in a golang
>Â Â Âimplementation, we could proceed to working on 'real' golang pmda.
>Â Â ÂDid
>Â Â Âyou have a specific domain in mind?
>
> Yes, that will work for me by starting with an easier task.
> I prefer to monitor memcache or database. Sounds good?

Sure, just be aware that we do have a memcache pmda, as well as several
database pmdas already (check src/pmdas/ for a full list). That being
said, there are always more databases to monitor. Feel free to choose
one you're interested in and detail it in your proposal.
I looked at the listed provided, I think I can write agents to monitor redis or cassandra database,Â
if that's possible.Â

Cheers,

Lukas

<Prev in Thread] Current Thread [Next in Thread>