diff --git a/envoy/config/resource_monitor/fixed_heap/v2alpha/BUILD b/envoy/config/resource_monitor/fixed_heap/v2alpha/BUILD new file mode 100644 index 00000000..adc77e5b --- /dev/null +++ b/envoy/config/resource_monitor/fixed_heap/v2alpha/BUILD @@ -0,0 +1,8 @@ +load("//bazel:api_build_system.bzl", "api_proto_library_internal") + +licenses(["notice"]) # Apache 2 + +api_proto_library_internal( + name = "fixed_heap", + srcs = ["fixed_heap.proto"], +) diff --git a/envoy/config/resource_monitor/fixed_heap/v2alpha/fixed_heap.proto b/envoy/config/resource_monitor/fixed_heap/v2alpha/fixed_heap.proto new file mode 100644 index 00000000..08e3c653 --- /dev/null +++ b/envoy/config/resource_monitor/fixed_heap/v2alpha/fixed_heap.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + +package envoy.config.resource_monitor.fixed_heap.v2alpha; +option go_package = "v2alpha"; + +message FixedHeapConfig { + // Limit of the Envoy process heap size. This is used to calculate heap memory pressure which + // is defined as (current heap size)/max_heap_size_bytes. + uint64 max_heap_size_bytes = 1; +}