tree: 2de76ca3e40d31a56b3e27284e46f608a2f55029 [path history] [tgz]
  1. __init__.py
  2. interceptors.py
  3. README.md
  4. trace.proto
  5. trace.py
  6. trace_pb2.py
  7. trace_pb2.pyi
avatar/metrics/README.md

Metrics

Avatar metrics use perfetto traces.

Perfetto traces

For convenience, trace_pb2.py and trace_pb2.pyi are pre-generated.

To regenerate them run the following:

pip install protoc-exe
protoc trace.proto --pyi_out=./ --python_out=./

To ensure compliance with the linter, you must modify the generated .pyi file by replacing Union[T, _Mapping] to T.