You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2015/12/18 13:57:46 UTC

[jira] [Updated] (OAK-3806) Collect and expose statistics related to BlobStore operations

     [ https://issues.apache.org/jira/browse/OAK-3806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chetan Mehrotra updated OAK-3806:
---------------------------------
    Attachment: OAK-3806-v1.patch
                blob-store-stats.png
                blob-upload.png

[initial patch|^OAK-3806-v1.patch] to review the approach

* It introduces a {{BlobStoreStats}} which collects the stats
* Stats captured
** Upload Stats
*** Number of uploads
*** Rate of Upload - Size and time taken
*** Distribution of upload size (Histrogram)
** Download Stats
*** For capturing the byte read count it wraps InputStream with CountingInputStream

The stats are exposed as part of {{BlobStoreStatsMBean}} with time series data for upload and download sizes. 

!blob-store-stats.png!

Screenshot of stats from histrogram

[~tmueller] [~amitj_76] Can you review the approach. Once it looks ok I would implement it in {{AbstractBlobStore}}

[~ianeboston] Can you review the type of stats collected. Should they be refined etc

> Collect and expose statistics related to BlobStore operations
> -------------------------------------------------------------
>
>                 Key: OAK-3806
>                 URL: https://issues.apache.org/jira/browse/OAK-3806
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: blob
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>             Fix For: 1.3.13
>
>         Attachments: OAK-3806-v1.patch, blob-store-stats.png, blob-upload.png
>
>
> It would be useful to collect some statistics around BlobStore operations like upload size, download size, how frequent uploads are done etc
> It should support following features
> * Collection across various implementation - For most cases just collecting stats in {{DataStoreBlobStore}} and {{AbstractBlobStore}} should be sufficient
> * Collected stats should be exposed over JMX



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)