summaryrefslogtreecommitdiff
path: root/evergreen
diff options
context:
space:
mode:
authorTausif Rahman <tausif.rahman@mongodb.com>2022-10-12 21:46:03 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-10-12 23:05:26 +0000
commit61ab44c46f6474094648219537c07378f724b578 (patch)
treeb546c4c562cd8f381741386ac2a66857fa023607 /evergreen
parentcac04731d8662e87c83d729e775411916e2875dd (diff)
downloadmongo-61ab44c46f6474094648219537c07378f724b578.tar.gz
SERVER-69628 Standup Metrics Collection Service
Diffstat (limited to 'evergreen')
-rw-r--r--evergreen/vpc_connectivity.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/evergreen/vpc_connectivity.py b/evergreen/vpc_connectivity.py
new file mode 100644
index 00000000000..2512d2e657c
--- /dev/null
+++ b/evergreen/vpc_connectivity.py
@@ -0,0 +1,11 @@
+import sys
+import os
+
+# Get relative imports to work when the package is not installed on the PYTHONPATH.
+if __name__ == "__main__" and __package__ is None:
+ sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
+
+from buildscripts.metrics.tooling_metrics import _get_internal_tooling_metrics_client
+
+client = _get_internal_tooling_metrics_client()
+print(client.server_info())