-
Notifications
You must be signed in to change notification settings - Fork 55
Metrics
mattkovacs edited this page Mar 25, 2013
·
5 revisions
Atom Hopper uses Yammer Metrics to capture metrics.
Metrics can be accessed through JMX or at
http://localhost:8080/atommetrics
- entries-created-for-NAMESPACE/FEED
Running count of entries posted for each namespace/feed
- post-entry
Time it takes to post an entry
- db-post-entry
Time it takes to write an entry in the database
Note: In all the timers below the value of XXX is one of "tiny, small, medium and large".
- get-feed-head-XXXX, get-feed-head-with-cats-XXX
Time it takes to process a get feed head request (with and without search)
- db-get-feed-head-XXXX, db-get-feed-head-with-cats-XXX
Time it takes to retrieve the feed head entries from the database
- get-feed-page-XXXX, get-feed-page-with-cats-XXX
Time it takes to process a get feed page request (with and without search categories)
- db-get-feed-page-XXXX, db-get-feed-page-with-cats-XXX
Time it takes to retrieve the feed page entries from the database (with and without search categories)
- get-last-page-XXXX, get-last-page-with-cats-XXX
Time it takes to process a get last page request (with and without search categories)
- db-get-last-page-XXXX, db-get-last-page-with-cats-XXX
Time it takes to retrieve the last page entries from the database (with and without search categories)
The timers above can be turned on/off in the JDBC Adapter by editing the configuration in the application-context.xml file and setting the enableTimers property to true. Here's an example:
<bean name="jdbc-feed-publisher" class="org.atomhopper.jdbc.adapter.JdbcFeedPublisher">
<property name="jdbcTemplate" ref="atomHopperJdbcTemplate" />
<property name="allowOverrideId">
<value>true</value>
</property>
<property name="allowOverrideDate">
<value>true</value>
</property>
<property name="enableTimers">
<value>true</value>
</property>
</bean>
<bean name="jdbc-feed-source" class="org.atomhopper.jdbc.adapter.JbdcFeedSource">
<property name="jdbcTemplate" ref="atomHopperJdbcTemplate" />
<property name="enableTimers">
<value>true</value>
</property>
</bean>