2

I was using the Metric annotation @timer and @metrics as instructed from the project, https://github.com/astefanutti/metrics-aspectj. Where will this metrics be registered in any Metric registry?I want to know whether this will be registered and how can i view it? Will these can be viewed in Jconsole or JMXreporter of DropWizard metrics.Is there any sample examples on the usage of it,if anyone can attach some samples it will be really helpful?Also can anyone help me in adding the metrics-aspectJ plugin in gradle.build version 2.3

I viewed a stackflow of a similar question Codahale Metrics: using @Timed metrics annotation in plain Java They mentioned about including metrics-aspectj but noting about how metrics registration was done.I was new to the Concepts of aspect orient programming. If anyone can explains how it works for the above github project, it would be great.

Community
  • 1
  • 1
uttam
  • 435
  • 9
  • 24
  • This could be useful to introduce own custom annotations like @IPCount, what can simply count the different client IPs since last hour or sth else. Someone here to explain how the annotation works, so that we can build our own metric annotation? – heaphach Sep 30 '15 at 14:55

0 Answers0