You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nextcloud: make the nextcloud.system.apps.* metrics optional (DataDog#2653)
* add a spec and re-sync example configuration
example configuration was updated and synced with Validating default configuration files for 1 checks...
Writing config file to `/home/jean/git/integrations-extras/nextcloud/datadog_checks/nextcloud/data/conf.yaml.example`
All 2 configuration files are valid!
* add flag to provide optional metrics
* enforce url param format=json in code
ensure stats are retrieved in json format rather than relying on the users to set it properly in conf
* unpin nextcloud version
* set default value to false
* add an option for nextcloud apps stats
* improve tests setup by waiting on startup logs
* use util function to get current directory
* wait for nextcloud to be available
improves the reliability of the tests (Nextcloud seems to be taking longer to spin up in some cases) and is better than checking for logs
* update version
* format code
* Shorten changelog entry
* add a note about optional metrics in Readme
* Bump major version
Users on Nextcloud < 28 will not get the `apps.*` metrics anymore, unless they enable `apps_stats`. With the same config, they can no longer get the same amount of metrics.
Co-authored-by: Steven Yuen <[email protected]>
* Update __about__.py
---------
Co-authored-by: Steven Yuen <[email protected]>
Copy file name to clipboardExpand all lines: nextcloud/README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,12 @@ Run the [Agent's status subcommand][10] and look for `nextcloud` under the Check
36
36
37
37
See [metadata.csv][11] for a list of metrics provided by this check.
38
38
39
+
#### Optional metrics
40
+
41
+
The `nextcloud.system.apps.*` metrics are optional and enabled with the `apps_stats` configuration key. Beginning with Nextcloud 28, the monitoring endpoint no longer provides information about available app updates, as gathering the data always involves at least one external request to apps.nextcloud.com.
42
+
43
+
It is still possible to ask the monitoring endpoint to [show new app updates][14] by using the URL parameter `skipApps=false`. However, Nextcloud recommends to not check this endpoint too often.
44
+
39
45
### Events
40
46
41
47
Nextcloud does not include any events.
@@ -60,3 +66,4 @@ Need help? Contact [Datadog support][12].
0 commit comments