How about instead of no description we just return the column name back?

From: zhenyun <notifications@github.com<mailto:notifications@github.com>>
Reply-To: linkedin/naarad <reply@reply.github.com<mailto:reply@reply.github.com>>
Date: Friday, December 20, 2013 9:36 AM
To: linkedin/naarad <naarad@noreply.github.com<mailto:naarad@noreply.github.com>>
Subject: Re: [naarad] supporting ts_start and ts_end in /proc metrics (#55)


In src/naarad/metrics/procmeminfo_metric.py:

> @@ -77,8 +77,9 @@ def parse(self):
>          # provide default description (Metric.graph() requires a description)
>          if not col in self.metric_description:
>            self.metric_description[col] = 'No description'
> -
> -        data[out_csv].append(ts + "," + words[3])
> +
> +        if not self.ts_out_of_range(ts):


Line 74 needs to be kept; otherwise it will results in wrong data[]
I added comments to explain.

—
Reply to this email directly or view it on GitHub<https://github.com/linkedin/naarad/pull/55/files#r8505424>.