Commit Graph

7 Commits

Author SHA1 Message Date
Philip Jenvey
1b13123a2b
feat: Revert "feat: Revert "fix: revert the python3.10 match statement (for now) (#1592)""
This reverts commit f3bdda9166.

Issue SYNC-4363
2024-10-21 16:54:42 -07:00
Philip Jenvey
3675c9387b
fix: correctly read the SYNC_STATSD_HOST/PORT settings (#1601)
Closes SYNC-4417
2024-09-23 17:31:51 -07:00
Philip Jenvey
f3bdda9166
feat: Revert "fix: revert the python3.10 match statement (for now) (#1592)"
This reverts commit dc0d571c05.
(minus the added RUSTSEC ignore)

utilize the match statement now that we're back on debian
bookworm/python 3.10

Issue SYNC-4259
2024-09-19 11:27:02 -07:00
Philip Jenvey
dc0d571c05
fix: revert the python3.10 match statement (for now) (#1592)
so the script can operate under bullseye/python3.9

and ignore RUSTSEC-2024-0365

Issue SYNC-4259
2024-08-29 17:55:47 -07:00
JR Conlin
6537783a9c
feat: Add metrics, gcp logging to tokenserver scripts (#1555)
* feat: Add metrics, gcp logging to tokenserver scripts

This adds GCP logging JSON output formatting for logs as well as DataDog
style metric reporting.

New Environs:
* `METRIC_API_KEY` - Optional Datadog API key
* `METRIC_APP_KEY` - Optional Datadog APP key
* `METRIC_HOST` - Collector Host address
* `METRIC_PORT` - Collector Host port

This also adds the `--human` arg if you want to use the older, human
readable logs instead.


---------

Co-authored-by: Philip Jenvey <pjenvey@underboss.org>
2024-05-22 18:19:50 -07:00
Philip Jenvey
31192d52c9
fix: connect to the db once instead of every loop iteration
SYNC-3638
2023-03-06 16:43:34 -08:00
Ethan Donowitz
0ac30958de
feat: add Tokenserver admin scripts (#1168)
Closes #1086
2021-11-18 09:37:02 -05:00