File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,28 @@ icons:
103
103
- Database ` /icon/database.svg `
104
104
105
105
We also have other icons related to the IDEs. You can see all the icons
106
- [ here] ( https://github.com/coder/coder/tree/main/site/static/icon ) .
106
+ [ here] ( ./icons.md ) .
107
+
108
+ ## Agent Metadata
109
+
110
+ In cases where you want to present automatically updating, dynamic values. You
111
+ can use the ` metadata ` block in the ` coder_agent ` resource. For example:
112
+
113
+ ``` hcl
114
+ resource "coder_agent" "dev" {
115
+ os = "linux"
116
+ arch = "amd64"
117
+ dir = "/workspace"
118
+ metadata {
119
+ name = "Process Count"
120
+ script = "ps aux | wc -l"
121
+ interval = 1
122
+ timeout = 3
123
+ }
124
+ }
125
+ ```
126
+
127
+ Read more [ here] ( ./agent-metadata.md ) .
107
128
108
129
## Up next
109
130
You can’t perform that action at this time.
0 commit comments