Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.resource_monitor.fixed_heap.v2alpha";
option go_package = "v2alpha";

import "validate/validate.proto";

// [#protodoc-title: Fixed heap]

// The fixed heap resource monitor reports the Envoy process memory pressure, computed as a
// fraction of currently reserved heap memory divided by a statically configured maximum
// specified in the FixedHeapConfig.
message FixedHeapConfig {
uint64 max_heap_size_bytes = 1;
uint64 max_heap_size_bytes = 1 [(validate.rules).uint64.gt = 0];
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
static_resources {
}
stats_config {
use_all_default_tags {
value: true
}
}
overload_manager {
resource_monitors {
name: "envoy.resource_monitors.fixed_heap"
}
}