David,

> on a related note: do you intend that people will add to the
> stat_directory_type_t with more complex specific types or keep it to
> more primitive generic types?

I was thinking of generic types, like if it is a counter, a counter vector, or 
a gauge.
And the user would have to know if it is a bytes counter, or a number of 
buffers free counters etc.

But I’m (very) open to better ways of presenting the data.
Suggestions?

Cheers,
Ole




> On Mon, Oct 22, 2018 at 10:20 AM Ole Troan <otr...@employees.org> wrote:
>> 
>> David,
>> 
>>> in the new stats api, is there a way to clear counters or would that
>>> be done using the existing messages? for example, clearing interface
>>> stats with VL_API_SW_INTERFACE_CLEAR_STATS.
>> 
>> There is nothing that clears all stats.
>> The SW_INTERFACE_CLEAR_STATS will clear the interface stats.
>> 
>> Guess we should at least add a clear for the node performance counters.
>> 
>> Cheers,
>> Ole
> 
> 
> 
> -- 
> Kailua, Hawaiʻi
> US +1 (808) 728-3050
> UK +44 (020) 3286 2808
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#10966): https://lists.fd.io/g/vpp-dev/message/10966
> Mute This Topic: https://lists.fd.io/mt/27525199/675193
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [otr...@employees.org]
> -=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11089): https://lists.fd.io/g/vpp-dev/message/11089
Mute This Topic: https://lists.fd.io/mt/27525199/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to