git://git.onelab.eu
/
myops.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4c967a6f6bee0129d30744f9184c8cc73e90164c
[myops.git]
/
web
/
query
/
views
/
node-status
/
map.js
1
function(doc) {
2
var ts = (new Date()).getTime()/1000;
3
var pl = /.planetlab/;
4
5
if ( doc.type == "node-status-v3-single" ) { // doc.hostname && doc.rpm_versions ) {
6
// emit(doc.hostname, doc);
7
emit([doc.ts, doc.hostname], doc);
8
//if ( ts - 60*60*24 < doc.ts ) {
9
//}
10
}
11
12
}