@@ -26,9 +26,7 @@ The following table lists the NGINX Agent features:
26
26
| ------------------- | --------------------------------------------------------------------------- | ------- |
27
27
| configuration | Full read/write management of configurations, controlled by DataPlaneConfig ConfigMode. | On |
28
28
| 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 |
30
29
| 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 |
32
30
| metrics | Full metrics reporting. | On |
33
31
| > metrics-host | Host-level metrics (cpu, disk, load, fs, memory, network, paging). | On |
34
32
| > metrics-container | Container-level metrics from cgroup information. | On |
@@ -46,15 +44,15 @@ You can enable or disable features using several configuration sources:
46
44
Enable features at launch:
47
45
48
46
``` shell
49
- ./nginx-agent --features=connection, configuration,metrics,file-watcher,agent-api
47
+ ./nginx-agent --features=configuration,metrics,file-watcher
50
48
```
51
49
52
50
### Environment variables
53
51
54
52
Use environment variables for containerized deployments:
55
53
56
54
``` shell
57
- export NGINX_AGENT_FEATURES=" connection, configuration,metrics,file-watcher,agent-api "
55
+ export NGINX_AGENT_FEATURES=" configuration,metrics,file-watcher"
58
56
```
59
57
60
58
### Configuration file
@@ -63,11 +61,9 @@ Define features in the `nginx-agent.conf` file:
63
61
64
62
``` yaml
65
63
features :
66
- - connection
67
64
- configuration
68
65
- metrics
69
66
- file-watcher
70
- - agent-api
71
67
` ` `
72
68
73
69
## Use cases
0 commit comments