This is an automated email from the ASF dual-hosted git repository.

victoria pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new cc10350870 Collocated processes instructions (#13224)
cc10350870 is described below

commit cc10350870dbe22f74aef0bb500c6e7894b916dd
Author: cristian-popa <[email protected]>
AuthorDate: Mon Oct 17 13:56:00 2022 -0500

    Collocated processes instructions (#13224)
    
    Co-authored-by: Victoria Lim <[email protected]>
    Co-authored-by: Frank Chen <[email protected]>
---
 docs/development/extensions-contrib/prometheus.md | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/docs/development/extensions-contrib/prometheus.md 
b/docs/development/extensions-contrib/prometheus.md
index 7957cbf7e4..e5625f160b 100644
--- a/docs/development/extensions-contrib/prometheus.md
+++ b/docs/development/extensions-contrib/prometheus.md
@@ -29,7 +29,8 @@ To use this Apache Druid extension, 
[include](../../development/extensions.md#lo
 
 This extension exposes [Druid 
metrics](https://druid.apache.org/docs/latest/operations/metrics.html) for 
collection by a Prometheus server (https://prometheus.io/).
 
-Emitter is enabled by setting `druid.emitter=prometheus` 
[configs](https://druid.apache.org/docs/latest/configuration/index.html#emitting-metrics)
 or include `prometheus` in the composing emitter list. 
+Emitter is enabled by setting `druid.emitter=prometheus` 
[configs](https://druid.apache.org/docs/latest/configuration/index.html#enabling-metrics)
 or include `prometheus` in the composing emitter list. 
+
 
 ## Configuration
 
@@ -46,6 +47,10 @@ All the configuration parameters for the Prometheus emitter 
are under `druid.emi
 | `druid.emitter.prometheus.pushGatewayAddress` | Pushgateway address. 
Required if using `pushgateway` strategy.                                       
                                                                                
                                                  | no        | none            
                     |
 |`druid.emitter.prometheus.flushPeriod`|Emit metrics to Pushgateway every 
`flushPeriod` seconds. Required if `pushgateway` strategy is used.|no|15|
 
+### Ports for colocated Druid processes
+
+In certain instances, Druid processes may be colocated on the same host. For 
example, the Broker and Router may share the same server. Other colocated 
processes include the Historical and MiddleManager or the Coordinator and 
Overlord. When you have colocated processes, specify 
`druid.emitter.prometheus.port` separately for each process on each host. For 
example, even if the Broker and Router share the same host, the Broker runtime 
properties and the Router runtime properties each need to [...]
+
 ### Override properties for Peon Tasks
 
 Peon tasks are created dynamically by middle managers and have dynamic host 
and port addresses. Since the `exporter` strategy allows Prometheus to read 
only from a fixed address, it cannot be used for peon tasks.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to