pcp
[Top] [All Lists]

[Bug 1133] event.flags / event.missed "anonymous" metrics registered too

To: pcp@xxxxxxxxxxx
Subject: [Bug 1133] event.flags / event.missed "anonymous" metrics registered too late
From: bugzilla-daemon@xxxxxxxxxxx
Date: Mon, 04 Jan 2016 20:50:41 +0000
Auto-submitted: auto-generated
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <bug-1133-835@xxxxxxxxxxxxxxxx/bugzilla/>
References: <bug-1133-835@xxxxxxxxxxxxxxxx/bugzilla/>
changed bug 1133
What Removed Added
CC   nathans@debian.org

Comment # 3 on bug 1133 from
(In reply to comment #2)
> [...]  The key is to have the names be accessible -before- the
> pmUnpackEventRecord* call.
> 
> It would be possible for fetchgroups to paper over this problem [...]

Please don't paper over problems like this.  The idea of verifying the
fetchgroup APIs with event metrics before merging is to uncover issues just
like this one, so they can be considered and tackled properly before anything
is cast in stone and it becomes too late.

> dummy pmUnpack* call on a dummy pmResult* during the registration phase,
> just to trigger the registration code.

Convert the existing src/libpcp/src/event.c register_event_metrics() function
into an exported API that can be called at the most convenient time for any/all
situations.  Then update the fetchgroups series accordingly.


You are receiving this mail because:
  • You are on the CC list for the bug.
<Prev in Thread] Current Thread [Next in Thread>