You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,13 @@ This is part of the DataCite Usage Analytics service.
7
7
This has a public API that is the main endpoint for the [DataCite Tracker](https://github.com/datacite/datacite-tracker)
8
8
Events are stored within a Clickhouse database and then statistics according to COUNTER can be calculated.
9
9
10
+
### Setup
11
+
12
+
1. Install the tracking script [DataCite Tracker](https://github.com/datacite/datacite-tracker)
13
+
2. Configure using appropriate details
14
+
3. Results should be sent to the /api/metric end point
15
+
4. You can use the check api endpoint /api/check/{repo_id} to see if results are being recorded, it returns 200 and the timestamp of the last event if successful.
16
+
10
17
## COUNTER Usage Report Generation
11
18
12
19
Based on the data stored in Clickhouse and statistics that can be generated, usage reports in the format of SUSHI Json can be generated.
0 commit comments