...

Text file src/github.com/datawire/ambassador/v2/api/envoy/admin/v4alpha/memory.proto

Documentation: github.com/datawire/ambassador/v2/api/envoy/admin/v4alpha

     1syntax = "proto3";
     2
     3package envoy.admin.v4alpha;
     4
     5import "udpa/annotations/status.proto";
     6import "udpa/annotations/versioning.proto";
     7
     8option java_package = "io.envoyproxy.envoy.admin.v4alpha";
     9option java_outer_classname = "MemoryProto";
    10option java_multiple_files = true;
    11option (udpa.annotations.file_status).package_version_status = NEXT_MAJOR_VERSION_CANDIDATE;
    12
    13// [#protodoc-title: Memory]
    14
    15// Proto representation of the internal memory consumption of an Envoy instance. These represent
    16// values extracted from an internal TCMalloc instance. For more information, see the section of the
    17// docs entitled ["Generic Tcmalloc Status"](https://gperftools.github.io/gperftools/tcmalloc.html).
    18// [#next-free-field: 7]
    19message Memory {
    20  option (udpa.annotations.versioning).previous_message_type = "envoy.admin.v3.Memory";
    21
    22  // The number of bytes allocated by the heap for Envoy. This is an alias for
    23  // `generic.current_allocated_bytes`.
    24  uint64 allocated = 1;
    25
    26  // The number of bytes reserved by the heap but not necessarily allocated. This is an alias for
    27  // `generic.heap_size`.
    28  uint64 heap_size = 2;
    29
    30  // The number of bytes in free, unmapped pages in the page heap. These bytes always count towards
    31  // virtual memory usage, and depending on the OS, typically do not count towards physical memory
    32  // usage. This is an alias for `tcmalloc.pageheap_unmapped_bytes`.
    33  uint64 pageheap_unmapped = 3;
    34
    35  // The number of bytes in free, mapped pages in the page heap. These bytes always count towards
    36  // virtual memory usage, and unless the underlying memory is swapped out by the OS, they also
    37  // count towards physical memory usage. This is an alias for `tcmalloc.pageheap_free_bytes`.
    38  uint64 pageheap_free = 4;
    39
    40  // The amount of memory used by the TCMalloc thread caches (for small objects). This is an alias
    41  // for `tcmalloc.current_total_thread_cache_bytes`.
    42  uint64 total_thread_cache = 5;
    43
    44  // The number of bytes of the physical memory usage by the allocator. This is an alias for
    45  // `generic.total_physical_bytes`.
    46  uint64 total_physical_bytes = 6;
    47}

View as plain text