Resoto Scarf Collector Plugin
Project description
Resoto 💜 Scarf
Scarf Collector Plugin for Resoto
This collector plugin is used to collect data from Scarf. It is used internally at Some Engineering to create metrics about image downloads.
To export the number of image pulls add the following config to resoto.metrics
resotometrics:
[...]
metrics:
scarf_downloads_total:
# Metric help text
help: 'Scarf downloads'
# Aggregation search to run
search: 'aggregate(/ancestors.cloud.reported.name as cloud, /ancestors.account.reported.name as organization, name as repository: sum(pull_count) as scarf_downloads_total): is(scarf_package)'
# Type of metric (gauge or counter)
type: 'counter'
License
See LICENSE for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for resoto-plugin-scarf-3.8.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86e89de0647ebc0ba6059c6216aa0d962aca71b6f43f3498e3db0e4e1f23c280 |
|
MD5 | 23a10359dbde68b4613117fb94fe6d89 |
|
BLAKE2b-256 | f2257a934308985ee534dad7d40f7e87d99593ba915bd56042928a4b14957cad |
Close
Hashes for resoto_plugin_scarf-3.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5b00d06ef36dd6513e90fe65aa8ec750e50dd9343819350de94759636aa552b |
|
MD5 | 62647bea83d2b59c6bd0de886e8586ce |
|
BLAKE2b-256 | ad6f5e1c2a990215e6d3834f57ffe8681de3aa873dc1d82dd14e591757779c12 |