Skip to content

Commit

Permalink
chore: adding additional params for windows infra-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
josemore committed Jun 26, 2023
1 parent b39492c commit 253d9bc
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,14 @@ If you'd like to do a manual installation, follow the next steps:
msiexec.exe /qn /i PATH\TO\newrelic-infra.msi
```

For a scripted installation, you can pass in configuration parameters. You must first add
For a scripted installation, you can pass a limited set of agent settings as configuration parameters. You must first add
`GENERATE_CONFIG=true` and `LICENSE_KEY=YOUR_LICENSE_KEY`, and then, you can add the following optional parameters:

Example:
```shell
DISPLAY_NAME=YOUR_DISPLAY_NAME PROXY=http://YOUR_PROXY_SERVER:PROXY_PORT CUSTOM_ATTRIBUTES="{'ATTRIBUTE_1':'VALUE_1','ATTRIBUTE_2':'VALUE_2'}"
DISPLAY_NAME=YOUR_DISPLAY_NAME PROXY=http://YOUR_PROXY_SERVER:PROXY_PORT CUSTOM_ATTRIBUTES="{'ATTRIBUTE_1':'VALUE_1','ATTRIBUTE_2':'VALUE_2'}" METRICS_SYSTEM_SAMPLE_RATE=30 METRICS_STORAGE_SAMPLE_RATE=30 METRICS_NETWORK_SAMPLE_RATE=30 METRICS_PROCESS_SAMPLE_RATE=30 PAYLOAD_COMPRESSION_LEVEL=6
```
Advanced customization is available via `NRIA_` environment variables and agent configuration file, learn how to [configure the agent](/docs/infrastructure/install-infrastructure-agent/configuration/configure-infrastructure-agent/).

The following example sets the <InlinePopover type="licenseKey" /> and configures a proxy server for outbound communication, as well as adding one custom [attribute](/docs/using-new-relic/welcome-new-relic/get-started/glossary#attribute):

Expand Down Expand Up @@ -140,4 +142,4 @@ To upgrade to the latest version, follow standard procedures to [update the infr

Remember. if you haven't already, create your free New Relic account below to start monitoring your data today.

<InlineSignup/>
<InlineSignup/>

0 comments on commit 253d9bc

Please sign in to comment.