Adeeb Shihadeh
7a3e454d27
move sentry/stats to system/ ( #32490 )
...
* move sentry/stats to system/
* fix
old-commit-hash: da6fd75125
11 months ago
Adeeb Shihadeh
3358745103
ruff: enable UP
...
old-commit-hash: b2e4c64cf8
11 months ago
Justin Newberry
1548b673e0
use build_metadata everywhere we used to use get_version, get_commit, etc ( #31941 )
...
* use build_metadata
* fix normailzed
* also normalized
* and here
* fix diff
* and that one
* cleanup
old-commit-hash: effee900c4
1 year ago
Cameron Clough
9bd90112d0
use pyupgrade to update to new typing syntax ( #31580 )
...
* add pyupgrade hook
* run pyupgrade (pre-commit run -a)
* ruff --fix
* Revert "add pyupgrade hook"
This reverts commit 56ec18bb6b
.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
old-commit-hash: 995250ae49
1 year ago
Adeeb Shihadeh
59eb2988de
swaglog.py goes in common/ ( #30631 )
...
* swaglog.py goes in common/
* all of these go in release
* we'll even include the pyx
old-commit-hash: 35f819c823
1 year ago
Justin Newberry
661132be5a
Pytest: more post-test path cleanup ( #30556 )
...
* test cleanup
* missed this one
* remove that
* static class
old-commit-hash: 4086795c29
1 year ago
Adeeb Shihadeh
16ec56398c
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b991
.
* fix pm test
old-commit-hash: a9626f95b6
2 years ago
Adeeb Shihadeh
f50fedb647
Fixes for PYTHONWARNINGS=error ( #29381 )
...
old-commit-hash: db287496d8
2 years ago
Adeeb Shihadeh
3a968c67e1
loggerd: move to system/ ( #27534 )
...
old-commit-hash: 94eb215980
2 years ago
Adeeb Shihadeh
3c48bc47b7
Move a bunch of stuff to system/ part 3 ( #24829 )
...
* move swaglog.py
* timezoned
* logmessaged
* version.py
* fix linter
old-commit-hash: 0fce5d9045
3 years ago
Adeeb Shihadeh
9a45a3b99b
Move selfdrive/hardware/ to system/ ( #24725 )
...
* move hardware to system/
* fix mypy
old-commit-hash: 1139fe507b
3 years ago
Willem Melching
710531e85d
statsd: fix duplicate filename ( #24595 )
...
old-commit-hash: dd55d14bb1
3 years ago
Robbe Derks
af38179430
Add sample metric type to statsd ( #23557 )
...
* add sample stat, and make current power draw work on eon/c2
* fix power monitoring test
* little cleanup
* add type hinting to dict
* save as different values
* duh
* rip out power stat
* small fix
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* cleanup this too
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d60c44e03c
3 years ago
Ryan
0dbb4fb3b0
Add more type hinting ( #23595 )
...
* Add more type hinting.
* Revert joystick_alert changes.
* Add typing to statsd.
* Update selfdrive/statsd.py
* Update selfdrive/test/test_fingerprints.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: aa9e635311
3 years ago
Robbe Derks
caf4a4c8b8
save dongleid as value to limit cardinality ( #23594 )
...
old-commit-hash: 0f95e605f5
3 years ago
Dean Lee
54bdb321bd
cleanup iterate keys in dictionaries ( #23497 )
...
old-commit-hash: a186bcc9f1
3 years ago
Willem Melching
755c1f606e
statsd: run at 2Hz ( #23493 )
...
old-commit-hash: 44592f4b0e
3 years ago
Robbe Derks
323febbf37
Statsd ( #23413 )
...
* device side of statsd
* need to start it
* enable in manager
* add sleep
* cleanup
* remove aggregates for now and standardize on industry terms
* manager needs main
* need to have a try/except
* atomic_write_on_fs_tmp does not work
* cleaner
* use dump
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* one file at a time
* limit amount of files
* move to influx line protocol and cleanup
* needs to be a list
* fix timezone bug
* actually rate limit
* add to release
* normalized origin
* also log deviceType
* more stats
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 1b49ce6ec4
3 years ago