11# Autometrics Report
22
3- This Github action will comment on Pull Requests to tell you how metrics are
3+ This GitHub action will comment on Pull Requests to tell you how metrics are
44going to be affected.
55
66The report tells you immediately if your new feature is well instrumented, and
@@ -21,7 +21,10 @@ go through the diff.
2121 [ "Example Usage" section] ( #example-usage ) show the minimal set of permissions needed.
2222- ` rs-roots ` : a list of project roots for rust projects, one root per line.
2323 The values are given relative to the root of the repository, and should
24- point to the directory containing the ` Cargo.toml ` directory.
24+ point to the directory containing the ` Cargo.toml ` file.
25+ - ` ts-roots ` : a list of project roots for typescript projects, one root per line.
26+ The values are given relative to the root of the repository, and should
27+ point to the directory containing the ` package.json ` file.
2528- ` retention-days ` : the number of days to keep the list of functions as
2629 [ workflow
2730 artifacts] ( https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts#about-workflow-artifacts ) .
@@ -37,6 +40,7 @@ go through the diff.
3740:----------:|:-----------:
3841gh-token | yes
3942rs-roots | no
43+ ts-roots | no
4044retention-days | no
4145am-version | no
4246
@@ -99,6 +103,10 @@ In the case of a mono repo that would look like
99103│ ├── README.md
100104│ │ ...
101105│ └── Cargo.toml
106+ ├── project-ts
107+ │ ├── README.md
108+ │ │ ...
109+ │ └── package.json
102110└── README.md
103111```
104112
@@ -111,6 +119,8 @@ with:
111119 project-a
112120 project-b
113121 project-c
122+ ts-roots : |
123+ project-ts
114124` ` `
115125
116126
@@ -122,7 +132,7 @@ All languages in the table will be eventually supported.
122132Language | Support
123133:---:|:---:
124134[Rust](https://github.com/autometrics-dev/autometrics-rs) | ✅
125- [Typescript](https://github.com/autometrics-dev/autometrics-ts) | ❌
135+ [Typescript](https://github.com/autometrics-dev/autometrics-ts) | ✅
126136[Go](https://github.com/autometrics-dev/autometrics-go) | ❌
127137[Python](https://github.com/autometrics-dev/autometrics-py) | ❌
128138[C#](https://github.com/autometrics-dev/autometrics-cs) | ❌
0 commit comments