Good day! I would like to download all of my package metrics via the snapcraft metrics CLI utility however the “by architecture” option which exists on snapcraft.io is not available.
There was a previous request which relates to this
There was a GitHub issue to request the functionality and a PR confirming the added functionality.
This comment on this issue confirms the metric name as weekly_installed_base_by_architecture.
The feature is not documented within the metrics page.
Using the confirmed metric name yields the following error (format edited for your convenience):
Error: Invalid value for '--name': 'weekly_installed_base_by_architecture' is not one of
'daily_device_change',
'installed_base_by_channel',
'installed_base_by_country',
'installed_base_by_operating_system',
'installed_base_by_version',
'weekly_device_change',
'weekly_installed_base_by_channel',
'weekly_installed_base_by_country',
'weekly_installed_base_by_operating_system',
'weekly_installed_base_by_version'.
I don’t know whether
the functionality did make it into the tool but was subsequently removed
the functionality didn’t in-fact make it into the tool.
I would appreciate it if the Snap team can clarify the situation, especially in regard to whether the daily & weekly metric can be added/enabled in snapcraft metrics.