Skip to content

Commit

Permalink
OP-312 Telemetry Module (#416)
Browse files Browse the repository at this point in the history
* Update setting.properties

* Add telemetry.properties

---------

Co-authored-by: David B Malkovsky <[email protected]>
  • Loading branch information
mwithi and dbmalkovsky committed Jan 11, 2024
1 parent 0c626cb commit c9abec2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rsc/settings.properties.dist
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ INTERNALVIEWER=yes
SMSENABLED=no
VIDEOMODULEENABLED=yes
XMPPMODULEENABLED=no
PARAMSURL=https://conf.open-hospital.org/oh-conf.json

# application settings
ENHANCEDSEARCH=no
Expand Down Expand Up @@ -74,3 +75,6 @@ USERSLISTLOGIN=no
PASSWORDTRIES=5
PASSWORDLOCKTIME=60
PASSWORDIDLE=365

# telemetry
TELEMETRYENABLED=yes
12 changes: 12 additions & 0 deletions rsc/telemetry.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# number of seconds to check if it should send a message

telemetry.daemon.thread.loop.seconds=14400

# enabled remote geo ip lookup service
# allowed values:
# - geoiplookup-remote-service
# - ipapi-remote-service
telemetry.enabled.geo.ip.lookup.service=geoiplookup-remote-service
# endpoints remote services
geoiplookup-remote-service.ribbon.base-url=https://json.geoiplookup.io
ipapi-remote-service.ribbon.base-url=http:https://ip-api.com/json

0 comments on commit c9abec2

Please sign in to comment.