[ 
https://issues.apache.org/jira/browse/SLING-7055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16130517#comment-16130517
 ] 

Marcel Reutegger commented on SLING-7055:
-----------------------------------------

The framework property is optional. The component also works without it. The 
description of the configuration attribute says:
{noformat}
        @AttributeDefinition(
                name = "Path",
                description = "Path of the RRD file where metrics are stored. " 
+
                        "The path is resolved relative to the 'sling.home' " +
                        "path when available, otherwise relative to the current 
" +
                        "working directory."
        )
        String path() default "metrics/metrics.rrd";
{noformat}

If this is considered bad practice, then I would rather rely on the settings 
service and have the bundle in extensions.

> RRD4J metrics reporter
> ----------------------
>
>                 Key: SLING-7055
>                 URL: https://issues.apache.org/jira/browse/SLING-7055
>             Project: Sling
>          Issue Type: New Feature
>          Components: Extensions
>            Reporter: Marcel Reutegger
>            Assignee: Robert Munteanu
>            Priority: Minor
>         Attachments: SLING-7055.patch, SLING-7055.patch
>
>
> SLING-4080 introduced metrics in Sling. The proposal in this issue adds a new 
> commons module which writes those metrics to a time series database on the 
> local filesystem. The primary purpose is tracking metrics for diagnostics.
> The bundle uses [RRD4J|https://github.com/rrd4j/rrd4j] as the time series 
> database implementation. The library is Apache License, Version 2.0.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to