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
*[Manual Configuration of Hosts](#manual-configuration-of-hosts)
@@ -33,11 +33,11 @@ The metrics can be used to identify performance issues that may be addressed by
33
33
34
34
Install this module with `puppet module install puppetlabs-puppet_metrics_collector` or add it to your Puppetfile.
35
35
36
-
To activate this module, classify your Primary Master (aka Master of Masters or MoM) with the `puppet_metrics_collector` class using your preferred classification method.
36
+
To activate this module, classify your Primary Server with the `puppet_metrics_collector` class using your preferred classification method.
37
37
Below is an example using `site.pp`.
38
38
39
39
```puppet
40
-
node 'master.example.com' {
40
+
node 'primary.example.com' {
41
41
include puppet_metrics_collector
42
42
}
43
43
```
@@ -47,7 +47,7 @@ Unlike service metrics, system metrics have to be enabled locally on each PE Inf
> Note: Do not `include` the top-level `puppet_metrics_collector` class on any PE Infrastructure Host other than the Primary Master, otherwise it will collect the same data as the Primary Master.
60
+
> Note: Do not `include` the top-level `puppet_metrics_collector` class on any PE Infrastructure Host other than the Primary Server, otherwise it will collect the same data as the Primary Server.
61
61
62
62
### Configuration
63
63
@@ -140,14 +140,14 @@ In order to convert the metric files into a multi-line format, they can be proce
@@ -268,84 +256,36 @@ The preferred method is via Hiera data.
268
256
The following examples show you how to specify those parameters for different infrastructures, and assumes you declare this module on the Primary Master.
269
257
270
258
271
-
#### Monolithic Infrastructure with Compile Masters
259
+
#### Monolithic Infrastructure with Compilers
272
260
273
261
##### Hiera Data Example
274
262
275
263
```yaml
276
264
puppet_metrics_collector::puppetserver_hosts:
277
-
- 'master.example.com'
278
-
- 'compile-master-1.example.com'
279
-
- 'compile-master-2.example.com'
265
+
- 'primary.example.com'
266
+
- 'compiler-1.example.com'
267
+
- 'compiler-2.example.com'
280
268
puppet_metrics_collector::puppetdb_hosts:
281
-
- 'master.example.com'
269
+
- 'primary.example.com'
282
270
```
283
271
284
272
##### Class Declaration Example
285
273
286
274
```puppet
287
275
class { 'puppet_metrics_collector':
288
276
puppetserver_hosts => [
289
-
'master.example.com',
290
-
'compile-master-1.example.com',
291
-
'compile-master-2.example.com'
277
+
'primary.example.com',
278
+
'compiler-1.example.com',
279
+
'compiler-2.example.com'
292
280
],
293
-
puppetdb_hosts => ['master.example.com'],
294
-
}
295
-
```
296
-
297
-
298
-
#### Split Infrastructures without Compile Masters
### Configuration for Distributed Metrics Collection
347
287
348
-
This option collect metrics on each PE Infrastructure Host instead of collecting metrics centrally on the Primary Master.
288
+
This option collect metrics on each PE Infrastructure Host instead of collecting metrics centrally on the Primary Server.
349
289
This option is discouraged, but allows for the collection of metrics when the Primary Master cannot access the API endpoints of the other PE Infrastructure Hosts.
350
290
Classify each PE Infrastructure Host with this module, specifying the following parameters.
351
291
@@ -378,4 +318,3 @@ class { 'puppet_metrics_collector':
378
318
379
319
If you are a PE user and need support using this module or are encountering issues, our Support team would be happy to help you resolve your issue and help reproduce any bugs. Just raise a ticket on the [support portal](https://support.puppet.com/hc/en-us/requests/new).
380
320
If you have a reproducible bug or are a community user you can raise it directly on the Github issues page of the module [here](https://github.com/puppetlabs/puppetlabs-puppet_metrics_collector/issues). We also welcome PR contributions to improve the module. Please see further details about contributing [here](https://puppet.com/docs/puppet/7.5/contributing.html#contributing_changes_to_module_repositories).
0 commit comments