Git Product home page Git Product logo

ceph_db_viewer's Introduction

ceph_db_viewer

Scratchy django app to view ceph monitor's leveldb data.

How to Use

Download repo and set up django web server.

git clone https://github.com/accelazh/ceph_db_viewer.git
cd ceph_de_viewer
./manage.py runserver 0.0.0.0:8081

Access mon_db/overview to see all key-value objects in leveldb of ceph monitors.

http://<host>:8081`/mon_db/overview

Click any key name of an object, will show detail page. For example

http://<host>:8081/mon_db/detail?object_key_hex=617574680031&mon_name_hex=636c7573746572412d6d6f6e2e32

The should have ceph monitor running.

Notes

Currently all key-value pairs are loaded to web page at once. On overview page, value is truncated by still too many.

Leveldb cannot be read while ceph is using it. So I copy ceph monitor's leveldb to /tmp and read it, every time. This is crappy.

ceph_db_viewer's People

Contributors

accelazh avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.