Skip to content

Instantly share code, notes, and snippets.

@bdelacretaz
Created July 13, 2016 12:09
Show Gist options
  • Save bdelacretaz/775b06330bcb9feeafd28d6f4a1d95f0 to your computer and use it in GitHub Desktop.
Save bdelacretaz/775b06330bcb9feeafd28d6f4a1d95f0 to your computer and use it in GitHub Desktop.
metrics.yaml for SLING-4849 which produces "Unused Config" for all 4 specified methods
global:
monitor:true
reporters:
jmx: true
console:
period: 30
org.apache.sling.jcr.api.SlingRepository:
getDefaultWorkspace:
()Ljava/lang/String;: timer
loginAdministrative:
(Ljava/lang/String;)Ljavax/jcr/Session;: counter
loginService:
(Ljava/lang/String;Ljava/lang/String;)Ljavax/jcr/Session;: timer
impersonateFromService:
(Ljava/lang/String;Ljavax/jcr/Credentials;Ljava/lang/String;)Ljavax/jcr/Session;: timer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment