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 21:28:26 +0000
Auto-submitted: auto-generated
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <bug-1133-835@xxxxxxxxxxxxxxxx/bugzilla/>
References: <bug-1133-835@xxxxxxxxxxxxxxxx/bugzilla/>

Comment # 5 on bug 1133 from
(In reply to comment #4)
> (In reply to comment #3)
> > 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.
> 
> It would be unfortunate to require brand new API just for exposing this
> internal implementation detail.

*shrug* - one API has needed it, other folk outside libpcp may too - since the
code already exists, no compelling reason not to make it available.  It'd be
similarly unfortunate if we end up having to sprinkle calls to
register_event_metrics throughout libpcp ...

>  Instead, for example, the pmLookupName
> could do it transparently to fetchgroups and other PMAPI clients.

Not certain that is guaranteed to precede all possible accesses, but sure,
worth experimenting with I guess.


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