Add server.memory_physical_bytes stats (#10156)

Signed-off-by: tianqian.zyf <tianqian.zyf@alibaba-inc.com>

Mirrored from https://github.com/envoyproxy/envoy @ 3368690e7c6bc7fd4bedf074d7ab340ad3e7f9ef
master-ci-test
data-plane-api(CircleCI) 5 years ago
parent 0487bbb43c
commit 1cc043aa55
  1. 6
      envoy/admin/v2alpha/memory.proto
  2. 6
      envoy/admin/v3/memory.proto

@ -11,7 +11,7 @@ option java_multiple_files = true;
// Proto representation of the internal memory consumption of an Envoy instance. These represent
// values extracted from an internal TCMalloc instance. For more information, see the section of the
// docs entitled ["Generic Tcmalloc Status"](https://gperftools.github.io/gperftools/tcmalloc.html).
// [#next-free-field: 6]
// [#next-free-field: 7]
message Memory {
// The number of bytes allocated by the heap for Envoy. This is an alias for
// `generic.current_allocated_bytes`.
@ -34,4 +34,8 @@ message Memory {
// The amount of memory used by the TCMalloc thread caches (for small objects). This is an alias
// for `tcmalloc.current_total_thread_cache_bytes`.
uint64 total_thread_cache = 5;
// The number of bytes of the physical memory usage by the allocator. This is an alias for
// `generic.total_physical_bytes`.
uint64 total_physical_bytes = 6;
}

@ -13,7 +13,7 @@ option java_multiple_files = true;
// Proto representation of the internal memory consumption of an Envoy instance. These represent
// values extracted from an internal TCMalloc instance. For more information, see the section of the
// docs entitled ["Generic Tcmalloc Status"](https://gperftools.github.io/gperftools/tcmalloc.html).
// [#next-free-field: 6]
// [#next-free-field: 7]
message Memory {
option (udpa.annotations.versioning).previous_message_type = "envoy.admin.v2alpha.Memory";
@ -38,4 +38,8 @@ message Memory {
// The amount of memory used by the TCMalloc thread caches (for small objects). This is an alias
// for `tcmalloc.current_total_thread_cache_bytes`.
uint64 total_thread_cache = 5;
// The number of bytes of the physical memory usage by the allocator. This is an alias for
// `generic.total_physical_bytes`.
uint64 total_physical_bytes = 6;
}

Loading…
Cancel
Save