@@ -51,11 +51,114 @@ files:
5151 - name : commit_server_endpoint
5252 description : |
5353 Endpoint exposing Commit Server's Prometheus metrics.
54+ fleet_configurable : false
5455 value :
5556 display_default : null
5657 example : http://argocd-commit-server:8087/metrics
5758 type : string
59+ - name : collect_genresources
60+ hidden : true
61+ fleet_configurable : false
62+ description : |
63+ Enable the generic resources pilot collector that ships ArgoCD
64+ Applications, Clusters, and Repositories to Datadog as generic
65+ resources. Disabled by default.
66+ value :
67+ type : boolean
68+ example : false
69+ - name : genresources_endpoint
70+ hidden : true
71+ fleet_configurable : false
72+ description : |
73+ Base URL of the ArgoCD REST API (for example, ``https://argocd.example.com``).
74+ Required when ``collect_genresources`` is set to ``true``.
75+ value :
76+ display_default : null
77+ example : https://<ARGOCD_HOST>
78+ type : string
79+ - name : genresources_auth_token
80+ hidden : true
81+ fleet_configurable : false
82+ description : |
83+ Raw bearer token used to authenticate against the ArgoCD REST API.
84+ When set, the collector adds ``Authorization: Bearer <token>`` to
85+ each REST request. Leave unset to inherit the request authentication
86+ configured on the instance (for example, the structured ``auth_token``
87+ config object handled by the HTTP wrapper).
88+ secret : true
89+ value :
90+ display_default : null
91+ example : <BEARER_TOKEN>
92+ type : string
93+ - name : genresources_ttl_seconds
94+ hidden : true
5895 fleet_configurable : false
96+ description : |
97+ Time-to-live in seconds applied to every emitted resource.
98+ Resources expire ``ttl_seconds`` after the last observation.
99+ Minimum of 1.
100+ value :
101+ type : integer
102+ example : 21600
103+ minimum : 1
104+ - name : genresources_collection_interval_seconds
105+ hidden : true
106+ fleet_configurable : false
107+ description : |
108+ Minimum number of seconds between generic resources collection cycles.
109+ The collector polls the ArgoCD API at most once per interval,
110+ independent of the check's metrics scrape frequency, to limit load on
111+ the ArgoCD API server in large deployments. Minimum of 1.
112+ value :
113+ type : integer
114+ example : 120
115+ minimum : 1
116+ - name : genresources_max_resources_per_cycle
117+ hidden : true
118+ fleet_configurable : false
119+ description : |
120+ Maximum number of items emitted per resource type per check cycle.
121+ When an ArgoCD API endpoint returns more than this, the excess is
122+ dropped and a warning is logged. Applied independently to
123+ Applications, Clusters, and Repositories.
124+ value :
125+ type : integer
126+ example : 10000
127+ minimum : 1
128+ - name : genresources_extra_include_paths
129+ hidden : true
130+ fleet_configurable : false
131+ description : |
132+ Additional dotted JSON paths appended to the baseline allowlist of
133+ every collected resource type. Only enumerated paths are shipped;
134+ anything not listed never leaves the Agent. ``[*]`` denotes array
135+ iteration. A path that does not match any field for a given type is
136+ silently skipped. This list is additive; it can add fields to ship but
137+ cannot remove baseline fields. Each path must resolve to a value, or a
138+ list of values, not a whole object: a path that lands on an object
139+ causes that resource to be dropped, so enumerate leaf fields rather
140+ than their parents.
141+ value :
142+ type : array
143+ items :
144+ type : string
145+ example : []
146+ - name : genresources_exclude_paths
147+ hidden : true
148+ fleet_configurable : false
149+ description : |
150+ Dotted JSON paths to remove from the baseline allowlist of every
151+ collected resource type, applied after ``genresources_extra_include_paths``.
152+ An entry removes any allowlisted path equal to it or nested beneath it;
153+ for example, ``status.history`` drops every ``status.history[*]`` field
154+ while ``status.conditions[*].message`` drops only that leaf. Use this to
155+ stop shipping a field without a code change. Removing fields only ever
156+ ships less, never more.
157+ value :
158+ type : array
159+ items :
160+ type : string
161+ example : []
59162 - template : instances/openmetrics
60163 overrides :
61164 openmetrics_endpoint.required : false
0 commit comments