diff --git a/pkg/pipeline.go b/pkg/pipeline.go index 415d00f..7cfd7e0 100644 --- a/pkg/pipeline.go +++ b/pkg/pipeline.go @@ -165,7 +165,7 @@ func FormatCounters(c []Counter) (string, error) { var metricsFormat = ` {{ range $dev := . }}{{ range $val := $dev }} -{{ $val.Name }}{gpu="{{ $val.GPU }}", UUID="{{ $val.GPUUUID }}", device="{{ $val.GPUDevice }}" +{{ $val.Name }}{gpu="{{ $val.GPU }}",UUID="{{ $val.GPUUUID }}",device="{{ $val.GPUDevice }}" {{- range $k, $v := $val.Attributes -}} ,{{ $k }}="{{ $v }}"