equal
deleted
inserted
replaced
188 |
188 |
189 var name = parsed[ "chart_id" ].get_str & "." & parsed[ "id" ].get_str |
189 var name = parsed[ "chart_id" ].get_str & "." & parsed[ "id" ].get_str |
190 pivot[ "hostname" ] = parsed[ "hostname" ] |
190 pivot[ "hostname" ] = parsed[ "hostname" ] |
191 pivot[ "timestamp" ] = parsed[ "timestamp" ] |
191 pivot[ "timestamp" ] = parsed[ "timestamp" ] |
192 pivot[ name ] = parsed[ "value" ] |
192 pivot[ name ] = parsed[ "value" ] |
|
193 |
|
194 if parsed.has_key( "labels" ): |
|
195 pivot[ "labels" ] = parsed[ "labels" ] |
193 except: |
196 except: |
194 continue |
197 continue |
195 |
198 |
196 for timestamp, sample in pivoted_data: |
199 for timestamp, sample in pivoted_data: |
197 result.add( sample ) |
200 result.add( sample ) |