1- [discrete]
21[[fleet-server-scalability]]
3- == {fleet-server} scalability
2+ = {fleet-server} scalability
43
5- This section summarizes the resource and {fleet-server} configuration
4+ This page summarizes the resource and {fleet-server} configuration
65requirements needed to scale your deployment of {agent}s. To scale
76{fleet-server}, you need to modify settings in your deployment and the
87{fleet-server} agent policy.
@@ -45,7 +44,7 @@ image::images/fleet-server-configuration.png[{fleet-server} configuration]
4544
4645[discrete]
4746[[fleet-server-configuration]]
48- === Advanced {fleet-server} options
47+ == Advanced {fleet-server} options
4948
5049The following advanced settings are available to fine tune your {fleet-server}
5150deployment.
@@ -113,7 +112,7 @@ Burst of enrollments to accept before falling back to the rate defined by
113112
114113[discrete]
115114[[scaling-recommendations]]
116- === Scaling recommendations ({ecloud})
115+ == Scaling recommendations ({ecloud})
117116
118117The following tables provide resource requirements and scaling guidelines based
119118on the number of agents required by your deployment:
@@ -126,7 +125,7 @@ on the number of agents required by your deployment:
126125
127126[discrete]
128127[[resource-requirements-by-number-agents]]
129- ==== Resource requirements by number of agents
128+ === Resource requirements by number of agents
130129|===
131130| Number of Agents | Memory | vCPU | {es} Cluster size
132131
@@ -143,7 +142,7 @@ on the number of agents required by your deployment:
143142[discrete]
144143[[recommend-settings-scaling-agents]]
145144
146- ==== Recommended settings by number of deployed {agent}s
145+ === Recommended settings by number of deployed {agent}s
147146
148147TIP: You might need to scroll to the right to see all the table columns.
149148
@@ -174,78 +173,3 @@ TIP: You might need to scroll to the right to see all the table columns.
1741738+s| Server runtime settings
175174| `gc_percent` | 20 | 20 | 20 | 20 | 20 | 20 | 20
176175|===
177-
178-
179- [discrete]
180- [[fleet-server-monitoring]]
181- == {fleet-server} monitoring
182-
183- Monitoring {fleet-server} is key since the operation of the {fleet-server} is
184- paramount to the health of the deployed agents and the services they offer. When
185- {fleet-server} is not operating correctly, it may lead to delayed check-ins,
186- status information, and updates for the agents it manages. The monitoring data
187- will tell you when to add capacity for {fleet-server}, and provide error logs
188- and information to troubleshoot other issues.
189-
190- To enable monitoring for {fleet-server}, turn on agent monitoring in the agent
191- policy. For self-managed clusters, monitoring is on by default when you create a
192- new agent policy or use the existing Default {fleet-server} agent policy.
193- However, it is off by default in the {ecloud} agent policy because monitoring
194- requires additional RAM.
195-
196- To turn on {fleet-server} monitoring in the agent policy:
197-
198- . In {fleet}, go to *Agent Policies* and click on the *{ecloud} agent policy*.
199- +
200- [role="screenshot"]
201- image::images/fleet-policy-page.png[Fleet Policy Page]
202-
203- . Click the *Settings* tab and notice that Agent monitoring is
204- off by default.
205-
206- . Under *Agent monitoring*, select *Collect agent logs* and
207- *Collect agent metrics*.
208- +
209- --
210- [role="screenshot"]
211- image::images/elastic-cloud-agent-policy-page.png[{ecloud} Policy Page]
212-
213- The agent will now be able to collect logs and metrics from the {fleet-server}.
214-
215- NOTE: The {fleet-server} is deployed as yet another agent in the system.
216- --
217-
218- . Next, set the *Default namespace*.
219- +
220- Setting the default namespace lets you segregate {fleet-server} monitoring data
221- from other collected data. This makes it easier to search and visualize the
222- monitoring data. By default the monitoring data is sent to the *default*
223- namespace.
224-
225- . To confirm your change, click *Save changes*.
226-
227- To see the metrics collected for {fleet-server}, go to *Analytics > Discover*.
228-
229- In the following example, `fleetserver` was configured as the namespace, and
230- you can see the metrics collected:
231-
232- [role="screenshot"]
233- image::images/dashboard-with-namespace-showing.png[Namespace]
234-
235- [role="screenshot"]
236- image::images/datastream-namespace.png[Datastream]
237-
238- In {kib}, go to *Analytics > Dashboard* and search for the predefined dashboard
239- called *[Elastic Agent] Agent metrics*. Choose this dashboard, and run a query
240- based on the `fleetserver` namespace.
241-
242- The following dashboard shows data for the query `data_stream.namespace:
243- "fleetserver"`. In this example, you can observe CPU and memory usage as a
244- metric and then resize the {fleet-server}, if necessary.
245-
246- [role="screenshot"]
247- image::images/dashboard-datastream.png[Dashboard Datastream]
248-
249- Note that as an alternative to running the query, you can hide all metrics
250- except `fleet_server` in the dashboard.
251-
0 commit comments