@@ -252,6 +252,48 @@ assignments.
252
252
253
253
.. include:: /includes/setting-fileConf-mms.publicApi.accesslistEnabled.rst
254
254
255
+ Prometheus
256
+ ----------
257
+
258
+ You must configure the following settings to enable the metrics that are
259
+ available for ingestion through Prometheus. You can also configure these
260
+ settings in the :guilabel:`Custom` tab of the :ref:`Ops Manager Config
261
+ <admin-console-general-om-config>` page in the
262
+ :ref:`admin-console-general-tab`.
263
+
264
+ After configuring these settings, you must restart |mms| on each
265
+ instance. After restarting, the new Prometheus endpoint can be
266
+ accessed at a |url| in the following format:
267
+
268
+ .. code-block:: shell
269
+
270
+ http(s)://<opsManagerUri>:<port>/metrics
271
+
272
+ .. note::
273
+
274
+ You can designate a listening port for the Prometheus metrics. This
275
+ doesn't have to be the default port that |mms| uses, 8080 for |http| or
276
+ 8443 for |https|. Ensure that your network allows traffic to the
277
+ specified Prometheus metrics port.
278
+
279
+ After enabling, you must configure a new scrape config similar to the
280
+ following in Prometheus for each |onprem| server that you would like to
281
+ gather statistics from.
282
+
283
+ .. code-block:: shell
284
+ :caption: scrape_config
285
+
286
+ scrape_configs:
287
+
288
+ - job_name: 'opsmanager'
289
+ static_configs:
290
+ - targets: [<opsManagerHostname>:<port>]
291
+
292
+ Note that each server's endpoint only provides metrics for the same server.
293
+
294
+ .. include:: /includes/setting-fileConf-mms.prom.listening.enabled.rst
295
+ .. include:: /includes/setting-fileConf-mms.prom.listening.port.rst
296
+
255
297
Push Live Migrations
256
298
--------------------
257
299
0 commit comments