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'
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.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ae364114eb0d6d9509324afc191be9149d4d5eefb65cd693437ee00c1a0a58d |
|
MD5 | d73ada5487a0ce167efa8ecba43e483a |
|
BLAKE2b-256 | e6e02cc7cf89e2ee83a34e10ae29b96b8113503f1e5ebe28a6eeba969e7a46e7 |
Close
Hashes for resoto_plugin_scarf-3.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 752198a5017dc06c812743113218f1a07a83527a7681f48ab02c5e79be8f29fe |
|
MD5 | 87230b2a9d8550d6711499bef35002d1 |
|
BLAKE2b-256 | 5b1f4825e49beff484fe0b0723ffbf0786fdd95ec9d50c9fdd439f9f44554f7e |