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.9.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e45ba356adfef2d6c1ad1acfe7df16b724fb8718b20ef296e44e735fc982dd9c |
|
MD5 | 808b2778eab8b1ff4fef4c28958eb034 |
|
BLAKE2b-256 | ca318631bffbeef970af266f092c7ce0a01334dbec0056f647d7dd7ece94a53a |
Close
Hashes for resoto_plugin_scarf-3.9.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b70676b690efea0dd5a822b953d8ee1e88ae2dc42d4de1f5c2ee4b30c78e6a4 |
|
MD5 | e2a3878ae0cddf2191a74822df497601 |
|
BLAKE2b-256 | ca375de7e4f30e4b3b1db8a8297f2d203af8b99e4ad52988a9358deca9d529b4 |