Skip to content

Commit 39242bb

Browse files
MrGeislingercopybara-github
authored andcommitted
Implement central metric registry for telemetry metrics
Adds a `MetricRegistry` singleton and `MetricDescriptor` dataclass to manage, filter, and render telemetry metrics across different domain providers (runtime, execution, network, orbax, and pygrain). No changes in functionality PiperOrigin-RevId: 972145958
1 parent fe85c12 commit 39242bb

2 files changed

Lines changed: 463 additions & 2 deletions

File tree

tpu_info/pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
[build-system]
16-
requires = ["hatchling", "hatch-build-scripts", "grpcio-tools~=1.65.5"]
16+
requires = ["hatchling", "hatch-build-scripts", "grpcio-tools>=1.65.5"]
1717
build-backend = "hatchling.build"
1818

1919
[project]
@@ -51,10 +51,12 @@ tpu-info = "tpu_info.cli:print_chip_info"
5151
[tool.hatch.build]
5252
exclude = [
5353
"*_test.py",
54-
"*.proto",
5554
]
5655

5756
[tool.hatch.build.targets.wheel]
57+
exclude = [
58+
"*.proto",
59+
]
5860
# HACK: Avoid copying files generated below
5961
# See https://github.com/rmorshea/hatch-build-scripts/discussions/4
6062
artifacts = [

0 commit comments

Comments
 (0)