blob: ccddaa4b901e38b6aa68e57cab16b5616350ffcb [file] [log] [blame]
Ajay Lotan Thakur491ed5a2022-05-31 17:33:00 -06001#!/bin/sh
2
3# Copyright 2022-present Open Networking Foundation
4#
5# SPDX-License-Identifier: Apache-2.0
6
7set -xe
8
9IMGPATH={{ .Values.config.imagePath }}
10{{- if .Values.config.coreDump.enabled }}
11cp /sdcore/metrics /tmp/coredump/
12{{- end }}
13
14cd /metricfunc
15cat config/metricscfg.conf
16
17echo $PWD
18
19GOTRACEBACK=crash /metricfunc/bin/metricfunc -metrics config/metricscfg.conf