Skip to content

Commit

Permalink
Change YAML format to match upcoming agent release
Browse files Browse the repository at this point in the history
  • Loading branch information
sonotley committed Sep 26, 2024
1 parent bb6bfe6 commit 4c9a62e
Showing 1 changed file with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,16 @@ Entries under `databases` utilize the following format:

```yaml
databases:
<database_name_1>:
dsn: "$DSN1"
tags:
- "<tag-one>"
- "<tag-two>"
<database_name_2>:
dsn: "$DSN2"
tags:
- "<tag-one>"
- "<tag-two>"
- resource_id: "database_name_1"
dsn: "$DSN1"
tags:
- "<tag-one>"
- "<tag-two>"
- resource_id: "database_name_2"
dsn: "$DSN2"
tags:
- "<tag-one>"
- "<tag-two>"
```
Here is an example `beacon_agent.yaml` file configured for a database named `sales_reporting`:
Expand All @@ -142,11 +142,11 @@ agent:
provider:
onprem:
databases:
sales_reporting:
- resource_id: "sales_reporting"
dsn: "$DSN"
tags:
- "sales"
- "reports"
- "sales"
- "reports"
host:
resource_id: "postgresql.lan"
tags: []
Expand Down

0 comments on commit 4c9a62e

Please sign in to comment.