Skip to content

Commit 7a51555

Browse files
committed
fix a bug in xid check custom metric
1 parent 82bdef8 commit 7a51555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playbooks/roles/metrics-exporter/templates/custom_metrics.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ def check_row_remap_errors():
591591
return True
592592

593593
def xid_check():
594-
result = subprocess.run(['sudo', 'python3', 'xid_checker.py'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
594+
result = subprocess.run(['sudo', 'python3', '/opt/oci-hpc/nodeexporter/scripts/xid_checker.py'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
595595
output = result.stderr.decode('utf-8')
596596

597597
# Textfile name for metrics

0 commit comments

Comments
 (0)