From bc41d81fa03c4edde9998d06df51b90ad87a701d Mon Sep 17 00:00:00 2001 From: sszhao1020 <89435179+sszhao1020@users.noreply.github.com> Date: Fri, 20 Sep 2024 13:47:49 +0800 Subject: [PATCH 1/2] Update indentation for the example yaml file The previous example doesn't work due to the improper indentation. --- .../console/estate/agent/install-agent.mdx | 39 ++++++++++--------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/advocacy_docs/edb-postgres-ai/console/estate/agent/install-agent.mdx b/advocacy_docs/edb-postgres-ai/console/estate/agent/install-agent.mdx index d21aefce3e7..104d6fd401e 100644 --- a/advocacy_docs/edb-postgres-ai/console/estate/agent/install-agent.mdx +++ b/advocacy_docs/edb-postgres-ai/console/estate/agent/install-agent.mdx @@ -130,26 +130,27 @@ Here is an example `beacon_agent.yaml` file configured for a database named `sal ```yaml agent: -access_key: $BEACON_AGENT_ACCESS_KEY -access_key_grpc_header: "x-access-key" -batch_size: 100 -beacon_server: "beacon.biganimal.com:443" -feature_flag_interval: 10m0s -project_id: "" -providers: -- "onprem" + access_key: "$BEACON_AGENT_ACCESS_KEY" + access_key_grpc_header: "x-access-key" + batch: + size: 100 + beacon_server: "beacon.biganimal.com:443" + feature_flag_interval: 10m0s + project_id: "" + providers: + - "onprem" provider: -onprem: -databases: - sales_reporting: - dsn: “$DSN” - tags: - - "sales" - - "reports" -host: - resource_id: "postgresql.lan" - tags: [] -poll_interval: 5m0s + onprem: + databases: + sales_reporting: + dsn: $DSN + tags: + - "sales" + - "reports" + host: + resource_id: "postgresql.lan" + tags: [] + poll_interval: 5m0s ``` ## Test Beacon Agent locally. From c5db0a0135c2b1b8abe74529bd882d0685080323 Mon Sep 17 00:00:00 2001 From: sszhao1020 <89435179+sszhao1020@users.noreply.github.com> Date: Fri, 20 Sep 2024 13:54:38 +0800 Subject: [PATCH 2/2] Update install-agent.mdx --- .../edb-postgres-ai/console/estate/agent/install-agent.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advocacy_docs/edb-postgres-ai/console/estate/agent/install-agent.mdx b/advocacy_docs/edb-postgres-ai/console/estate/agent/install-agent.mdx index 104d6fd401e..fa6d7c26ca0 100644 --- a/advocacy_docs/edb-postgres-ai/console/estate/agent/install-agent.mdx +++ b/advocacy_docs/edb-postgres-ai/console/estate/agent/install-agent.mdx @@ -143,7 +143,7 @@ provider: onprem: databases: sales_reporting: - dsn: $DSN + dsn: "$DSN" tags: - "sales" - "reports"