diff --git a/envoy/extensions/filters/network/mongo_proxy/v3/mongo_proxy.proto b/envoy/extensions/filters/network/mongo_proxy/v3/mongo_proxy.proto index 93abc90b..ebdfb6f2 100644 --- a/envoy/extensions/filters/network/mongo_proxy/v3/mongo_proxy.proto +++ b/envoy/extensions/filters/network/mongo_proxy/v3/mongo_proxy.proto @@ -17,6 +17,7 @@ option (udpa.annotations.file_status).package_version_status = ACTIVE; // MongoDB :ref:`configuration overview `. // [#extension: envoy.filters.network.mongo_proxy] +// [#next-free-field: 6] message MongoProxy { option (udpa.annotations.versioning).previous_message_type = "envoy.config.filter.network.mongo_proxy.v2.MongoProxy"; @@ -39,4 +40,9 @@ message MongoProxy { // Flag to specify whether :ref:`dynamic metadata // ` should be emitted. Defaults to false. bool emit_dynamic_metadata = 4; + + // List of commands to emit metrics for. Defaults to "delete", "insert", and "update". + // Note that metrics will not be emitted for "find" commands, since those are considered + // queries, and metrics for those are emitted under a dedicated "query" namespace. + repeated string commands = 5; }