pcp
[Top] [All Lists]

[pcp] pcp2graphite improvement: send all metrics at once in pickled mode

To: performancecopilot/pcp <pcp@xxxxxxxxxxxxxxxxxx>
Subject: [pcp] pcp2graphite improvement: send all metrics at once in pickled mode (#66)
From: test-account-0 <notifications@xxxxxxxxxx>
Date: Tue, 09 Feb 2016 01:17:07 -0800
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1455009427; bh=/7fRZ7sZNpqTCe0qu/vLOfWBtuvTHVUqHJL2vXQpF+k=; h=From:Reply-To:To:Subject:List-ID:List-Archive:List-Post: List-Unsubscribe:From; b=lEOf7eTGC9+ycExkDk8NrAmDdHpvShUw7RQHhoZFmwRTGc+b+xXyQk0CG7CJlzrLn sMiNkLLNNar1WbwUeDGYLmYuxKFR6EE5Dm6LAt4blTxElygsmwzZk/0Nh72wi5KJ9/ +hOvCoCQ5xUzLEeeJYAVaM4XLttbuukALjIqeR0I=
List-archive: https://github.com/performancecopilot/pcp
List-id: performancecopilot/pcp <pcp.performancecopilot.github.com>
List-post: <mailto:reply+00bd08b604452d21b95c7a9b917b3455d888465c577cc6fe92cf0000000112d1709392a169ce07e3c2bd@reply.github.com>
List-unsubscribe: <mailto:unsub+00bd08b604452d21b95c7a9b917b3455d888465c577cc6fe92cf0000000112d1709392a169ce07e3c2bd@reply.github.com>, <https://github.com/notifications/unsubscribe/AL0Itkx5CGDr9BCaGkXfZuRBRuoUxrR6ks5piaYTgaJpZM4HWOsF>
Reply-to: performancecopilot/pcp <reply+00bd08b604452d21b95c7a9b917b3455d888465c577cc6fe92cf0000000112d1709392a169ce07e3c2bd@xxxxxxxxxxxxxxxx>

Before this change "pickled_input" variable was appended and metrics send over and over again.

Time to send metrics to graphite dropped for me from 6 minutes to 2 seconds.


You can view, comment on, or merge this pull request online at:

  https://github.com/performancecopilot/pcp/pull/66

Commit Summary

  • pcp2graphite improvement: send all metrics at once in pickled mode

File Changes

Patch Links:


Reply to this email directly or view it on GitHub.

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