1
1
# Autometrics Report
2
2
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
4
4
going to be affected.
5
5
6
6
The report tells you immediately if your new feature is well instrumented, and
@@ -21,7 +21,10 @@ go through the diff.
21
21
[ "Example Usage" section] ( #example-usage ) show the minimal set of permissions needed.
22
22
- ` rs-roots ` : a list of project roots for rust projects, one root per line.
23
23
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.
25
28
- ` retention-days ` : the number of days to keep the list of functions as
26
29
[ workflow
27
30
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.
37
40
:----------:|:-----------:
38
41
gh-token | yes
39
42
rs-roots | no
43
+ ts-roots | no
40
44
retention-days | no
41
45
am-version | no
42
46
@@ -99,6 +103,10 @@ In the case of a mono repo that would look like
99
103
│ ├── README.md
100
104
│ │ ...
101
105
│ └── Cargo.toml
106
+ ├── project-ts
107
+ │ ├── README.md
108
+ │ │ ...
109
+ │ └── package.json
102
110
└── README.md
103
111
```
104
112
@@ -111,6 +119,8 @@ with:
111
119
project-a
112
120
project-b
113
121
project-c
122
+ ts-roots : |
123
+ project-ts
114
124
` ` `
115
125
116
126
@@ -122,7 +132,7 @@ All languages in the table will be eventually supported.
122
132
Language | Support
123
133
:---:|:---:
124
134
[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) | ✅
126
136
[Go](https://github.com/autometrics-dev/autometrics-go) | ❌
127
137
[Python](https://github.com/autometrics-dev/autometrics-py) | ❌
128
138
[C#](https://github.com/autometrics-dev/autometrics-cs) | ❌
0 commit comments