diff options
author | Louis Williams <louis.williams@mongodb.com> | 2020-10-14 12:04:14 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-10-14 22:23:55 +0000 |
commit | 7770f90b6c12e0e1e13d01f69b3890cbf0832fae (patch) | |
tree | 1295cfa62f04aedc90843e92f7ae1c74305c5a0f /src/mongo/db/curop.h | |
parent | 6e2ad2316a0603f5d6c03e69670ca4f95861ad3b (diff) | |
download | mongo-7770f90b6c12e0e1e13d01f69b3890cbf0832fae.tar.gz |
SERVER-51023 Collect document bytes read for operation resource consumption metrics
Diffstat (limited to 'src/mongo/db/curop.h')
-rw-r--r-- | src/mongo/db/curop.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/curop.h b/src/mongo/db/curop.h index 6ed03de3040..40205de6dcb 100644 --- a/src/mongo/db/curop.h +++ b/src/mongo/db/curop.h @@ -39,6 +39,7 @@ #include "mongo/db/operation_context.h" #include "mongo/db/profile_filter.h" #include "mongo/db/server_options.h" +#include "mongo/db/stats/resource_consumption_metrics.h" #include "mongo/db/write_concern_options.h" #include "mongo/logv2/attribute_storage.h" #include "mongo/logv2/log_component.h" @@ -166,6 +167,7 @@ public: void report(OperationContext* opCtx, const SingleThreadedLockStats* lockStats, + const ResourceConsumption::Metrics* operationMetrics, logv2::DynamicAttributes* pAttrs) const; /** |