lp:~andrus-skytap/graphite/rla_rrd_enhancements

Created by ross andrus and last modified
Get this branch:
bzr branch lp:~andrus-skytap/graphite/rla_rrd_enhancements
Only ross andrus can upload to this branch. If you are ross andrus please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
ross andrus
Project:
Graphite
Status:
Experimental

Recent revisions

347. By ross andrus

Changes made for RRD support:

* Move storage.py and remote_storage.py into new "storage" package
* Factor storage.py in to several chunks to support a path/handler registration model for different data-sources. Pull whisper support into whisper_storage plugin. NOTE: I haven't tested this much recently, but it did work at one point along the way.
* Change conventions around metric id to use forward-slash (/) as path delimiter instead of dot (.) - this is required because collectd and ganglia produce directory hierarchies with FQDN node names, and treating the dots as path separators was driving me crazy. This requires adding "/" to the list of legal chars for the gpath cli element. Also, re-map the query suffix from ".*" to plain "*", which makes it somewhat easier to use fnmatch simply.
* Add rrds module to handle RRDs, and add "collectd_storage" and "skytap_storage" plugins to variations of RRD usage.
* Plumb CF from storage plugins through render/datalibs so that we don't apply "average" consolidation function to data from MAX or MIN CFs.
* Add "maxima" and "minima" consolidation functions so we can get honest maxima across series.

Things NOT done:

* Cleanup all the crufty commented-out print lines around. I'm still working on this and I find this a convenient way to see what's going on - I'm sure there's a better way to develop/debug this code but I don't know what it is.
* Test all the other paths in the code - there's a lot of functionality here, and much of it I don't understand at all, much less could I spot errors in e.g. the "integral" combiner does.
* Add unit tests for the new consolidation functions. I started to do this but gave up partway through... might finish it later.

346. By chrismd

fixed bug with new retention scheme syntax that broke compatibility with old syntax

345. By Charles A Beasley

implemented the nPercentile function, tests, and added it to the composer widgets.

344. By Charles A Beasley

refactor of highestMax

343. By Charles A Beasley

reverting the change to datalib.py

342. By Charles A Beasley

Adding a highestMax function to functions.py complete with a unittest; Refactored datalib.py so that environment dependencies may be injected/ignored during testing.

341. By chrismd

fixed Bug #704653

340. By chrismd

fixed poor choice of memcache key in remote find() caching

339. By chrismd

whoops, committed to wrong tree, undoing

338. By chrismd

added ceres tree dir to installed dirs

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers