SHRINE 4.4 includes two new command line tools to create CSV files to help analyze activity in a SHRINE network.
The researcher metrics tool gathers information about researcher activity at a downstream node. It can provide CSV summaries of researchers' activity, what queries they run, and what results they are getting back.
Download and unzip the researcher metrics tool from https://repo.open.catalyst.harvard.edu/nexus/content/groups/public/net/shrine/shrine-researcher-metrics/4.4.0-RC2/shrine-researcher-metrics-4.4.0-dist.zip TODO update this link for the release.
Edit the conf/shrine.conf file for your database specifics. You can find most of these values in your tomcat's server.xml .
If you are using custom breakdowns copy the breakdown section from your tomcat's shrine.conf file into this one.
If you are using Microsoft or Oracle copy the jdbc library (typically jtds-1.3.1.jar or ojdbc10.jar ) into the lib directory in the tool.
In the directory where you unpacked the tool run
./researcherMetrics --help |
The tool can take the commands: researchers, queries, or results, to generate specific CSV files. Arguments exist to filter by date and by a specific researcher, and to name the file something other than the default value.
The researcher metrics tool gathers information about researcher activity and node configuration at all nodes in the network. It can provide CSV summaries of researchers' activity, what queries they run, and what results they are getting back, as well as a summary table of activity and configuration of all the nodes.
Download and unzip the researcher metrics tool from https://repo.open.catalyst.harvard.edu/nexus/content/groups/public/net/shrine/shrine-network-metrics-tool/4.4.0-RC2/shrine-network-metrics-tool-4.4.0-dist.zip TODO update this link for the release.
Edit the conf/shrine.conf file for your database specifics. You can find most of these values in your tomcat's server.xml .
If you are using custom breakdowns copy the breakdown section from your tomcat's shrine.conf file into this one.
In the directory where you unpacked the tool run
./networkMetrics --help |
The tool can take the commands: nodes, researchers, queries, results, to generate specific CSV files. Arguments exist to filter by date and by a specific researcher, and to name the file something other than the default value.