Skip to content

Commit 89b5020

Browse files
authored
docs: Update agent features configuration examples
Removed 'connection' and 'agent-api' features from launch and environment variable examples. as these don't apply to v3
1 parent 9628ae5 commit 89b5020

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

content/nginx-one/agent/configure-instances/configure-agent-features.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ The following table lists the NGINX Agent features:
2626
| ------------------- | --------------------------------------------------------------------------- | ------- |
2727
| configuration | Full read/write management of configurations, controlled by DataPlaneConfig ConfigMode. | On |
2828
| certificates | Inclusion of public keys and other certificates in the configurations toggled by DataPlaneConfig CertMode | Off |
29-
| connection | Sends an initial connection message reporting instance information on presence of Command ServerConfig Host and Port | On |
3029
| file-watcher | Monitoring of file changes in the allowed directories list and references from product configs. | On |
31-
| agent-api | REST API for NGINX Agent. | Off |
3230
| metrics | Full metrics reporting. | On |
3331
| > metrics-host | Host-level metrics (cpu, disk, load, fs, memory, network, paging). | On |
3432
| > metrics-container | Container-level metrics from cgroup information. | On |
@@ -46,15 +44,15 @@ You can enable or disable features using several configuration sources:
4644
Enable features at launch:
4745

4846
```shell
49-
./nginx-agent --features=connection,configuration,metrics,file-watcher,agent-api
47+
./nginx-agent --features=configuration,metrics,file-watcher
5048
```
5149

5250
### Environment variables
5351

5452
Use environment variables for containerized deployments:
5553

5654
```shell
57-
export NGINX_AGENT_FEATURES="connection,configuration,metrics,file-watcher,agent-api"
55+
export NGINX_AGENT_FEATURES="configuration,metrics,file-watcher"
5856
```
5957

6058
### Configuration file
@@ -63,11 +61,9 @@ Define features in the `nginx-agent.conf` file:
6361

6462
```yaml
6563
features:
66-
- connection
6764
- configuration
6865
- metrics
6966
- file-watcher
70-
- agent-api
7167
```
7268
7369
## Use cases

0 commit comments

Comments
 (0)