diff options
author | Jason Chan <jason.chan@mongodb.com> | 2022-09-26 18:42:52 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-09-26 19:41:03 +0000 |
commit | 352089310fdc9c71873bb8f7a06f9b23e59ecc7f (patch) | |
tree | c3275f1ac878583172904e6f9c6baca547b72dee /src/mongo/client/async_client.idl | |
parent | eb7433209268fcb25ee3fdb74b8f7b2f57cf213f (diff) | |
download | mongo-352089310fdc9c71873bb8f7a06f9b23e59ecc7f.tar.gz |
SERVER-64967 Measure how long it takes operations using egress connections to write to network
Diffstat (limited to 'src/mongo/client/async_client.idl')
-rw-r--r-- | src/mongo/client/async_client.idl | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/mongo/client/async_client.idl b/src/mongo/client/async_client.idl new file mode 100644 index 00000000000..a800cc053e8 --- /dev/null +++ b/src/mongo/client/async_client.idl @@ -0,0 +1,42 @@ +# Copyright (C) 2022-present MongoDB, Inc. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the Server Side Public License, version 1, +# as published by MongoDB, Inc. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Server Side Public License for more details. +# +# You should have received a copy of the Server Side Public License +# along with this program. If not, see +# <http://www.mongodb.com/licensing/server-side-public-license>. +# +# As a special exception, the copyright holders give permission to link the +# code of portions of this program with the OpenSSL library under certain +# conditions as described in each individual source file and distribute +# linked combinations including the program with the OpenSSL library. You +# must comply with the Server Side Public License in all respects for +# all of the code used other than as permitted herein. If you modify file(s) +# with this exception, you may extend this exception to your version of the +# file(s), but you are not obligated to do so. If you do not wish to do so, +# delete this exception statement from your version. If you delete this +# exception statement from all source files in the program, then also delete +# it in the license file. +# + +global: + cpp_namespace: "mongo" + +server_parameters: + connectionAcquisitionToWireLoggingRate: + description: >- + The rate at which egress connection metrics below a certain time threshold will be logged at + info level. This only applies for the 'network.totalConnectionAcquiredToWireMillis' + server status metric. + set_at: [ startup, runtime ] + cpp_vartype: AtomicWord<double> + cpp_varname: gConnectionAcquisitionToWireLoggingRate + default: 0.2 + validator: { gte: 0.0, lte: 1.0 } |