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
Reaggregates statistics received from multiple Metric Aggregator Daemon instances into aggregates across each cluster. Simply, this means combining the values from each host in your fleet. Both the host and cluster values are published to various configurable data sinks.
The artifacts from the build are in *metrics-cluster-aggregator/target/appassembler* and should be copied to an appropriate directory on your application host(s).
22
26
23
-
### Execution ###
27
+
### Execution
24
28
25
-
In the installation's *bin* directory there are scripts to start Metrics Cluster Aggregator: *metrics-cluster-aggregator* (Linux) and *metrics-cluster-aggregator.bat* (Windows). One of these should be executed on system start with appropriate parameters; for example:
29
+
In the installation's *bin* directory there are scripts to start Metrics Cluster Aggregator: *cluster-aggregator* (Linux) and *cluster-aggregator.bat* (Windows). One of these should be executed on system start with appropriate parameters; for example:
To customize logging you may provide a [LogBack](http://logback.qos.ch/) configuration file. To use a custom logging configuration you need to define and export an environment variable before executing *cluster-aggregator*:
Where */usr/local/lib/metrics-cluster-aggregator/config/logger.xml* is the path to your logging configuration file.
38
42
39
-
#### Daemon ####
43
+
#### Daemon
40
44
41
-
The Metrics Cluster Aggregator daemon configuration is specified in a JSON file. The location of the configuration file is passed to *metrics-cluster-aggregator* as a command line argument:
45
+
The Metrics Cluster Aggregator configuration is specified in a JSON file. The location of the configuration file is passed to *metrics-cluster-aggregator* as a command line argument:
* logDirectory - The location of additional logs. This is independent of the logging configuration.
48
-
* pipelineConfiguration - The location of configuration file for the metrics pipeline.
52
+
* clusterPipelineConfiguration - The location of configuration file for the cluster statistics pipeline.
53
+
* hostPipelineConfiguration - The location of the configuration file for the host statistics pipeline.
49
54
* httpHost - The ip address to bind the http server to.
50
55
* httpPort - The port to bind the http server to.
51
56
* aggregationHost - The ip address to bind the tcp aggregation server to.
@@ -129,7 +134,7 @@ For example:
129
134
}
130
135
```
131
136
132
-
#### Pipeline ####
137
+
#### Pipeline
133
138
134
139
Metrics Cluster Aggregator supports a two pipelines. The first is the host pipeline which handles publication of all statistics received from Metrics Aggregator Daemon instances. The second is the cluster pipeline which handles all statistics (re)aggregated by cluster across host statistics from Metrics Aggregator Daemon instances. In both cases the pipeline defines one more destinations or sinks for the statistics.
135
140
@@ -148,6 +153,30 @@ For example:
148
153
}
149
154
```
150
155
156
+
Development
157
+
-----------
158
+
159
+
To build the service locally you must satisfy these prerequisites:
0 commit comments