akumuli / Akumuli

Time-series database
http://akumuli.org
Apache License 2.0
837 stars 85 forks source link

Instrumentation #74

Open Lazin opened 8 years ago

Lazin commented 8 years ago

/stats api command

Lazin commented 8 years ago

Stats output looks like this now:

{
    "search_stats":
    {
        "binary_search":
        {
            "steps": "0",
            "times": "0"
        },
        "scan":
        {
            "bytes_read_backward": "0",
            "bytes_read_forward": "0"
        },
        "interpolation_search":
        {
            "matches": "0",
            "overshoots": "0",
            "undershoots": "0",
            "pages_in_core_found": "0",
            "pages_in_core_miss": "0",
            "page_in_core_checks": "0",
            "page_in_core_errors": "0",
            "reduced_to_one_page": "0",
            "steps": "0",
            "times": "0"
        }
    },
    "volume_0":
    {
        "path": "\/tmp\/akumuli\/db_0.volume",
        "close_count": "0",
        "entries_count": "6",
        "free_space": "4294962791",
        "open_count": "1",
        "num_pages": "4",
        "page_id": "0"
    },
    "volume_1":
    {
        "path": "\/tmp\/akumuli\/db_1.volume",
        "close_count": "0",
        "entries_count": "0",
        "free_space": "4294967256",
        "open_count": "0",
        "num_pages": "4",
        "page_id": "1"
    },
    "volume_2":
    {
        "path": "\/tmp\/akumuli\/db_2.volume",
        "close_count": "0",
        "entries_count": "0",
        "free_space": "4294967256",
        "open_count": "0",
        "num_pages": "4",
        "page_id": "2"
    },
    "volume_3":
    {
        "path": "\/tmp\/akumuli\/db_3.volume",
        "close_count": "0",
        "entries_count": "0",
        "free_space": "4294967256",
        "open_count": "0",
        "num_pages": "4",
        "page_id": "3"
    }
}