Skip to content
Merged
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
6 changes: 6 additions & 0 deletions api/ratelimit/config/ratelimit/v3/rls_conf.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ syntax = "proto3";

package ratelimit.config.ratelimit.v3;

import "google/protobuf/struct.proto";

option java_package = "io.envoyproxy.ratelimit.config.ratelimit.v3";
option java_outer_classname = "RlsConfigProto";
option java_multiple_files = true;
Expand Down Expand Up @@ -49,6 +51,10 @@ message RateLimitDescriptor {
// Mark the descriptor as quota mode. When quota_mode is true, the rate limit service will allow
// requests until all quota descriptors are over the limit.
bool quota_mode = 7;

// Optional metadata associated with the descriptor. When a rate limit match occurs,
// this metadata is included in the rate limit response's DynamicMetadata field.
google.protobuf.Struct metadata = 8;
}

// Rate-limit policy.
Expand Down
Loading