// GetProgramMetric fetches the datum of the program metric name.
GetProgramMetric fetches the datum of the program metric name.
// GetProgramMetric fetches the datum of the program metric name .
func (ts *TestServer) GetProgramMetric(name, prog string) datum.Datum {
	ts.tb.Helper()
	m := ts.store.FindMetricOrNil(name, prog)
	if m == nil {
		ts.tb.Fatalf("Unexpected metric store content, got nil instead of %s %s", name, prog)
		return nil
	}
	d, derr := m.GetDatum()
	testutil.FatalIfErr(ts.tb, derr)
	return d
}
func ( ts * TestServer ) GetProgramMetric ( name , prog string ) datum . Datum { ts . tb . Helper ( ) m := ts . store . FindMetricOrNil ( name , prog ) if m == nil { ts . tb . Fatalf ( " " , name , prog ) return nil } d , derr := m . GetDatum ( ) testutil . FatalIfErr ( ts . tb , derr ) return d }
GetProgramMetric fetches the datum of the program metric name.
GetProgramMetric fetches the datum of the program metric name .