Fix Scarf Collector Plugin
Project description
Fix 💜 Scarf
Scarf Collector Plugin for Fix
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 fix.metrics
fixmetrics:
[...]
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 fixinventory_plugin_scarf-4.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0d52e8906a007108eab5e29df313cf6dcb95a694ba665d43119dc4cc57ae157 |
|
MD5 | f650d9e7bf8feb75701672708dd98217 |
|
BLAKE2b-256 | 3eaf4a89f73d7ec837bc140ca3c908e74a8302a223230cc229d8ed08d4d57818 |
Close
Hashes for fixinventory_plugin_scarf-4.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e328931241a11af49fc1d3b7788ba18e2accc78e845f209568a1e6dbdac0577 |
|
MD5 | bfc8792db0dfced5fd2490b7262dd55b |
|
BLAKE2b-256 | 526934908472a0b048d0e89663af38063e09f6786b298f81092d21ab94030efc |