abhishekrb19 commented on code in PR #14935:
URL: https://github.com/apache/druid/pull/14935#discussion_r1402589302


##########
docs/development/extensions-contrib/prometheus.md:
##########
@@ -36,17 +36,18 @@ Emitter is enabled by setting `druid.emitter=prometheus` 
[configs](https://druid
 
 All the configuration parameters for the Prometheus emitter are under 
`druid.emitter.prometheus`.
 
-| property                                      | description                  
                                                                                
                                                                                
                                          | required? | default                 
             |
-|-----------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------|--------------------------------------|
-| `druid.emitter.prometheus.strategy`           | The strategy to expose 
prometheus metrics. <br/>Should be one of `exporter` and `pushgateway`. Default 
strategy `exporter` would expose metrics for scraping purpose. Peon tasks 
(short-lived jobs) should use `pushgateway` strategy. | yes       | exporter    
                         |
-| `druid.emitter.prometheus.port`               | The port on which to expose 
the prometheus HTTPServer. Required if using `exporter` strategy.               
                                                                                
                                           | no        | none                   
              |
-| `druid.emitter.prometheus.namespace`          | Optional metric namespace. 
Must match the regex `[a-zA-Z_:][a-zA-Z0-9_:]*`                                 
                                                                                
                                            | no        | druid                 
               |
-| `druid.emitter.prometheus.dimensionMapPath`   | JSON file defining the 
Prometheus metric type, desired dimensions, help text, and conversionFactor for 
every Druid metric.                                                             
                                                | no        | Default mapping 
provided. See below. |
-| `druid.emitter.prometheus.addHostAsLabel`     | Flag to include the hostname 
as a prometheus label.                                                          
                                                                                
                                          | no        | false                   
             |
-| `druid.emitter.prometheus.addServiceAsLabel`  | Flag to include the druid 
service name (e.g. `druid/broker`, `druid/coordinator`, etc.) as a prometheus 
label.                                                                          
                                               | no        | false              
                  |
-| `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                     
              |
-| `druid.emitter.prometheus.extraLabels`        | JSON key-value pairs for 
additional labels on all metrics. Keys (label names) must match the regex 
`[a-zA-Z_:][a-zA-Z0-9_:]*`. Example: `{"cluster_name": "druid_cluster1", "env": 
"staging"}`.                                        | no        | none          
                       |
+| property                                               | description         
                                                                                
                                                                                
                                                   | required? | default        
                      |
+|--------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------|--------------------------------------|
+| `druid.emitter.prometheus.strategy`                    | The strategy to 
expose prometheus metrics. <br/>Should be one of `exporter` and `pushgateway`. 
Default strategy `exporter` would expose metrics for scraping purpose. Peon 
tasks (short-lived jobs) should use `pushgateway` strategy. | yes       | 
exporter                             |
+| `druid.emitter.prometheus.port`                        | The port on which 
to expose the prometheus HTTPServer. Required if using `exporter` strategy.     
                                                                                
                                                     | no        | none         
                        |

Review Comment:
   Can we please revert this table formatting change? It makes it hard to see 
what changed in the diff. If you sync master, it has Intellij settings for 
`FORMAT_TABLES` that will not format and wrap long lines in the table 
automatically - 
https://github.com/apache/druid/blob/master/dev/druid_intellij_formatting.xml#L78



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to