- Notifications
You must be signed in to change notification settings - Fork1k
Commitaa0dc2d
authored
chore: track terraform modules in telemetry (#15450)
Addressescoder/nexus#35.This PR:- Adds a `workspace_modules` table to track modules used by theTerraform provisioner in provisioner jobs.- Adds a `module_path` column to the `workspace_resources` table,allowing to identify which module a resource originates from.- Starts pushing this new information into telemetry.For the person reviewing this PR, do not fret about the 1,500 new lines- ~1,000 of them are auto-generated.1 parent968c52b commitaa0dc2d
File tree
35 files changed
+1633
-412
lines changed- coderd
- database
- dbauthz
- dbgen
- dbmem
- dbmetrics
- dbmock
- migrations
- testdata/fixtures
- queries
- provisionerdserver
- telemetry
- provisionerd
- proto
- runner
- provisionersdk/proto
- provisioner/terraform
- site/e2e
35 files changed
+1633
-412
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2666 | 2666 |
| |
2667 | 2667 |
| |
2668 | 2668 |
| |
| 2669 | + | |
| 2670 | + | |
| 2671 | + | |
| 2672 | + | |
| 2673 | + | |
| 2674 | + | |
| 2675 | + | |
| 2676 | + | |
| 2677 | + | |
| 2678 | + | |
| 2679 | + | |
| 2680 | + | |
| 2681 | + | |
| 2682 | + | |
2669 | 2683 |
| |
2670 | 2684 |
| |
2671 | 2685 |
| |
| |||
3222 | 3236 |
| |
3223 | 3237 |
| |
3224 | 3238 |
| |
| 3239 | + | |
| 3240 | + | |
| 3241 | + | |
| 3242 | + | |
| 3243 | + | |
| 3244 | + | |
| 3245 | + | |
3225 | 3246 |
| |
3226 | 3247 |
| |
3227 | 3248 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2907 | 2907 |
| |
2908 | 2908 |
| |
2909 | 2909 |
| |
| 2910 | + | |
| 2911 | + | |
| 2912 | + | |
| 2913 | + | |
| 2914 | + | |
| 2915 | + | |
| 2916 | + | |
| 2917 | + | |
| 2918 | + | |
| 2919 | + | |
| 2920 | + | |
| 2921 | + | |
| 2922 | + | |
| 2923 | + | |
| 2924 | + | |
2910 | 2925 |
| |
2911 | 2926 |
| |
2912 | 2927 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
657 | 657 |
| |
658 | 658 |
| |
659 | 659 |
| |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
660 | 664 |
| |
661 | 665 |
| |
662 | 666 |
| |
663 | 667 |
| |
664 | 668 |
| |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
665 | 683 |
| |
666 | 684 |
| |
667 | 685 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
| 76 | + | |
76 | 77 |
| |
77 | 78 |
| |
78 | 79 |
| |
| |||
232 | 233 |
| |
233 | 234 |
| |
234 | 235 |
| |
| 236 | + | |
235 | 237 |
| |
236 | 238 |
| |
237 | 239 |
| |
| |||
6671 | 6673 |
| |
6672 | 6674 |
| |
6673 | 6675 |
| |
| 6676 | + | |
| 6677 | + | |
| 6678 | + | |
| 6679 | + | |
| 6680 | + | |
| 6681 | + | |
| 6682 | + | |
| 6683 | + | |
| 6684 | + | |
| 6685 | + | |
| 6686 | + | |
| 6687 | + | |
| 6688 | + | |
| 6689 | + | |
| 6690 | + | |
| 6691 | + | |
| 6692 | + | |
| 6693 | + | |
| 6694 | + | |
| 6695 | + | |
| 6696 | + | |
| 6697 | + | |
| 6698 | + | |
| 6699 | + | |
| 6700 | + | |
| 6701 | + | |
6674 | 6702 |
| |
6675 | 6703 |
| |
6676 | 6704 |
| |
| |||
8233 | 8261 |
| |
8234 | 8262 |
| |
8235 | 8263 |
| |
| 8264 | + | |
| 8265 | + | |
| 8266 | + | |
| 8267 | + | |
| 8268 | + | |
| 8269 | + | |
| 8270 | + | |
| 8271 | + | |
| 8272 | + | |
| 8273 | + | |
| 8274 | + | |
| 8275 | + | |
| 8276 | + | |
| 8277 | + | |
8236 | 8278 |
| |
8237 | 8279 |
| |
8238 | 8280 |
| |
| |||
8283 | 8325 |
| |
8284 | 8326 |
| |
8285 | 8327 |
| |
| 8328 | + | |
8286 | 8329 |
| |
8287 | 8330 |
| |
8288 | 8331 |
| |
|
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + |
Lines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + |
0 commit comments
Comments
(0)