Skip to content

Commit 3d386c3

Browse files
authored
[FA] Set display_priority in rabbitmq spec.yaml (DataDog#23276)
* Set display_priority in rabbitmq spec.yaml based on field usage * Set display_priority on actual config fields, not group headers * Remove display_priority from section group containers in rabbitmq spec.yaml
1 parent 5c0db41 commit 3d386c3

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

rabbitmq/assets/configuration/spec.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ files:
1717
description: RabbitMQ Prometheus Plugin Example
1818
options:
1919
- name: prometheus_plugin
20+
display_priority: 0
2021
description: |
2122
Settings for talking to the Prometheus plugin of RabbitMQ.
2223
Specify this section to trigger metric collection from the Prometheus plugin endpoints.
@@ -71,6 +72,7 @@ files:
7172
description: RabbitMQ Management Plugin Example
7273
options:
7374
- name: rabbitmq_api_url
75+
display_priority: 3
7476
description: |
7577
For every instance a 'rabbitmq_api_url' must be provided, pointing to the API
7678
URL of the RabbitMQ Management Plugin (http://www.rabbitmq.com/management.html).
@@ -80,31 +82,36 @@ files:
8082
type: string
8183
example: http://localhost:15672/api/
8284
- name: rabbitmq_user
85+
display_priority: 2
8386
description: The username to use for the RabbitMQ Management Plugin
8487
fleet_configurable: true
8588
value:
8689
type: string
8790
example: guest
8891
- name: rabbitmq_pass
92+
display_priority: 1
8993
description: The password to use for the RabbitMQ Management Plugin
9094
secret: true
9195
fleet_configurable: true
9296
value:
9397
type: string
9498
example: guest
9599
- name: tag_families
100+
display_priority: 0
96101
description: To tag queue "families" based on regex matching.
97102
fleet_configurable: true
98103
value:
99104
type: boolean
100105
example: false
101106
- name: collect_node_metrics
107+
display_priority: 0
102108
description: Node metrics are collected by default. Setting this parameter to false skips node metric collection.
103109
fleet_configurable: true
104110
value:
105111
type: boolean
106112
example: true
107113
- name: nodes
114+
display_priority: 0
108115
description: |
109116
Use the `nodes` parameters to specify the nodes you'd like to collect metrics on.
110117
The default maximum number of nodes is 100. Exceeding this limit can cause
@@ -117,6 +124,7 @@ files:
117124
- <NODE_NAME_1>
118125
- <NODE_NAME_2>
119126
- name: nodes_regexes
127+
display_priority: 0
120128
description: |
121129
Use the `nodes_regexes` parameters to specify which nodes you would like to
122130
collect using one or multiple Python regular expressions. The same limit applies as
@@ -130,6 +138,7 @@ files:
130138
example:
131139
- <REGEX>
132140
- name: queues
141+
display_priority: 0
133142
description: |
134143
Use the `queues` parameters to specify the queues you'd like to collect metrics on.
135144
The default maximum number of queues is 200. Exceeding this limit can cause
@@ -143,6 +152,7 @@ files:
143152
- <QUEUE_NAME_1>
144153
- <QUEUE_NAME_2>
145154
- name: queues_regexes
155+
display_priority: 0
146156
description: |
147157
Use the `queues_regexes` parameters to specify which queues you would like to
148158
collect using one or multiple Python regular expressions.
@@ -165,6 +175,7 @@ files:
165175
example:
166176
- <REGEX>
167177
- name: exchanges
178+
display_priority: 0
168179
description: |
169180
Use the `exchanges` parameters to specify the exchanges you'd like to collect metrics on.
170181
The default maximum number of exchanges is 50. Exceeding this limit can cause
@@ -178,6 +189,7 @@ files:
178189
- <EXCHANGE_1>
179190
- <EXCHANGE_2>
180191
- name: exchanges_regexes
192+
display_priority: 0
181193
description: |
182194
Use the `exchanges_regexes` parameters to specify which exchanges you would like to
183195
collect using one or multiple Python regular expressions.
@@ -201,6 +213,7 @@ files:
201213
example:
202214
- <REGEX>
203215
- name: vhosts
216+
display_priority: 0
204217
description: |
205218
Service checks and `rabbitmq.connections` metric:
206219
By default a list of all vhosts is fetched and each one is checked using the aliveness

0 commit comments

Comments
 (0)