summaryrefslogtreecommitdiff
path: root/evergreen
diff options
context:
space:
mode:
authorTausif Rahman <tausif.rahman@mongodb.com>2023-01-12 02:34:38 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-01-12 03:08:02 +0000
commit08ae3cb5d125b8d2cccf5fe63a4e3d3014091749 (patch)
tree606562963ecf6c3bbd59cc47e9126c28bd27479b /evergreen
parent5e9efe141520d36adcdd8af424c210d30e955943 (diff)
downloadmongo-08ae3cb5d125b8d2cccf5fe63a4e3d3014091749.tar.gz
SERVER-72348 Use the new mongo-tooling-metrics library
Diffstat (limited to 'evergreen')
-rwxr-xr-xevergreen/publish_metrics.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/evergreen/publish_metrics.py b/evergreen/publish_metrics.py
index 5790bca42e8..55f191e3022 100755
--- a/evergreen/publish_metrics.py
+++ b/evergreen/publish_metrics.py
@@ -8,13 +8,13 @@ from pydantic import ValidationError
if __name__ == "__main__" and __package__ is None:
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
-from buildscripts.metrics.metrics_datatypes import ResmokeToolingMetrics, SConsToolingMetrics
-from buildscripts.metrics.tooling_metrics_utils import _get_internal_tooling_metrics_client
+from mongo_tooling_metrics.client import get_mongo_metrics_client
+from mongo_tooling_metrics.lib.top_level_metrics import ResmokeToolingMetrics, SConsToolingMetrics
from evergreen.api import RetryingEvergreenApi
# Check cluster connectivity
try:
- client = _get_internal_tooling_metrics_client()
+ client = get_mongo_metrics_client().mongo_client
print(client.server_info())
except Exception as exc:
print("Could not connect to Atlas cluster")