You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/templates/agent-metadata.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -6,17 +6,17 @@ Agent metadata is in an alpha state and may break or disappear at any time.
6
6
7
7

8
8
9
-
With Agent Metadata, template admin can expose operational metrics from
10
-
their workspaces to their users. It is a sibling of [Resource Metadata](./resource-metadata.md).
9
+
With Agent Metadata, template admins can expose operational metrics from
10
+
their workspaces to their users. It is the dynamic complement of [Resource Metadata](./resource-metadata.md).
11
11
12
12
See the [Terraform reference](https://registry.terraform.io/providers/coder/coder/latest/docs/resources/agent#metadata).
13
13
14
14
## Examples
15
15
16
-
All of these examples use [heredoc strings](https://developer.hashicorp.com/terraform/language/expressions/strings#heredoc-strings) for the script declaration. With heredoc strings you
16
+
All of these examples use [heredoc strings](https://developer.hashicorp.com/terraform/language/expressions/strings#heredoc-strings) for the script declaration. With heredoc strings, you
17
17
can script without messy escape codes, just as if you were working in your terminal.
18
18
19
-
Here are useful agent metadata snippets for Linux agents:
19
+
Here's a standard set of metadata snippets for Linux agents:
20
20
21
21
```hcl
22
22
resource "coder_agent" "main" {
@@ -69,7 +69,7 @@ resource "coder_agent" "main" {
69
69
## Utilities
70
70
71
71
[vmstat](https://linux.die.net/man/8/vmstat) is available in most Linux
72
-
distributions and contains virtual memory, CPU and IO statistics. Running `vmstat`
72
+
distributions and provides virtual memory, CPU and IO statistics. Running `vmstat`
0 commit comments