NSX-T Data Center REST API

FlowCacheStatistics (schema)

Flow cache statistics

Provides the following statistics for flow cache since the time the edge
dataplane is UP:

- Number of active entries.
- Number of cache entry insertions.
- Number of bucket collisions when the entry insertion happens to
a bucket which is full.
- Number of key collisions when the entry to be inserted has a key
colliding with that of an existing entry.
- Number of cache hits, hit_rate, misses and skips.
- Number of packets that cannot be cached.
- Number of maximum entries with respect to size.

Name Description Type Notes
active Active

The number of current active entries in the flow cache.
string
bucket_collisions Bucket collisions

The total number of times when during an entry insertion, the corresponding bucket
is full with unexpired entries. This collision will result in a flow cache miss.
This is valid only for mega flow cache. The counts are from the time the edge
dataplane is UP and will be reset on edge reboot or edge dataplane restart.
string
dont_cache Dont cache

The total number of packets that cannot be cached. The counts are from the time the edge
dataplane is UP and will be reset on edge reboot or edge dataplane restart.
string
hit_rate Hit rate

The rate at which the packets matching the flow cache are forwarded. The counts are from
the time the edge dataplane is UP and will be reset on edge reboot or edge dataplane restart.
string
hits Hits

The total number of packets forwarded due to matching flow cache entry. The counts are from the
time the edge dataplane is UP and will be reset on edge reboot or edge dataplane restart.
string
insertions Insertions

The total number of times a new flow cache entry is added. The counts are from the time the edge
dataplane is UP and will be reset on edge reboot or edge dataplane restart.
string
key_collisions Key collisions

The total number of times a newly inserted entry has a key colliding with that of
an existing entry. In this case, the new entry will replace the existing entry. This
is only valid for mega flow cache. The counts are from the time the edge dataplane is
UP and will be reset on edge reboot or edge dataplane restart.
string
max_seen_percentage Max seen percentage

The percentage of maximum entries in a flow cache with respect to total size. This
is collected from the time the edge dataplane is UP and will be reset on edge reboot
or edge dataplane restart.
string
misses Misses

The total number of packets passed on to the next layer due to cache miss. The next layer can
be either slow path (in case of megaflow cache) or megaflow cache (in case of microflow cache).
The counts are from the time the edge dataplane is UP and will be reset on edge reboot or
edge dataplane restart.
string
skipped Skipped

The total number of packet misses due to unsupported packet type or the cache is disabled. The
counts are from the time the edge dataplane is UP and will be reset on edge reboot or
edge dataplane restart.
string