You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/infrastructure/host-integrations/host-integrations-list/windows-services-integration.mdx
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -63,20 +63,20 @@ You must have <DNT>**version 1.12.1 or higher**</DNT> for our [infrastructure ag
63
63
Here's an example of the Windows services integration configuration with both a regex pattern matching all services named `win32.*` and a direct match for the `newrelic-infra` service:
64
64
65
65
```yml
66
-
integrations:
67
-
- name: nri-winservices
68
-
config:
69
-
exporter_bind_address: 127.0.0.1
70
-
exporter_bind_port: 9182
71
-
include_matching_entities:
72
-
windowsService.name:
73
-
- regex "win32.*"
74
-
- "newrelic-infra"
75
-
scrape_interval: 30s
76
-
labels:
77
-
env: production
78
-
role: load_balancer
79
-
timeout: 60s
66
+
integrations:
67
+
- name: nri-winservices
68
+
config:
69
+
exporter_bind_address: 127.0.0.1
70
+
exporter_bind_port: 9182
71
+
include_matching_entities:
72
+
windowsService.name:
73
+
- regex "win32.*"
74
+
- "newrelic-infra"
75
+
scrape_interval: 30s
76
+
labels:
77
+
env: production
78
+
role: load_balancer
79
+
timeout: 60s
80
80
```
81
81
82
82
For more information, see our documentation about the [general structure of on-host integration configurations](/docs/integrations/integrations-sdk/file-specifications/host-integration-configuration-overview).
@@ -88,7 +88,7 @@ You must have <DNT>**version 1.12.1 or higher**</DNT> for our [infrastructure ag
88
88
Restart your infrastructure agent:
89
89
90
90
```shell
91
-
net stop newrelic-infra && net start newrelic-infra
91
+
net stop newrelic-infra && net start newrelic-infra
92
92
```
93
93
94
94
In a couple of minutes, your application will send metrics to [one.newrelic.com](https://one.newrelic.com).
0 commit comments