]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph_telemetry: accept older formats and transform 27802/head
authorDan Mick <dan.mick@redhat.com>
Thu, 25 Apr 2019 23:48:40 +0000 (16:48 -0700)
committerDan Mick <dan.mick@redhat.com>
Mon, 29 Apr 2019 22:42:59 +0000 (15:42 -0700)
commit0222d0d62b278b56011aab977109ee807a797464
tree825ed140e67148285cfc6d192266f924f7281421
parent8a4a6ab1962390a6e77c90d95c542c614759b699
ceph_telemetry: accept older formats and transform

Turn crashes from dict into list, and add a datestamp
(either from the report or from received time) to the
Elasticsearch document ID, remove hostname from crashdumps

Also add test code and requirements.txt for the tests for
ease of virtualenv creation

Signed-off-by: Dan Mick <dan.mick@redhat.com>
src/telemetry/server/ceph_telemetry/requirements.txt [new file with mode: 0644]
src/telemetry/server/ceph_telemetry/rest/report.py
src/telemetry/server/ceph_telemetry/test_rest.py [new file with mode: 0644]