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
File details
Details for the file fixinventory_plugin_scarf-4.1.0.tar.gz
.
File metadata
- Download URL: fixinventory_plugin_scarf-4.1.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09d661cd0a3e10e80d8090d3a4bc6c7dc6b3bc7ea57cff9b36fcdc252e5d5628 |
|
MD5 | 89f384c7558b0ac22d414fdf0e28180b |
|
BLAKE2b-256 | 80dfbd1a47ac68c479321685ccca094316948fed573eb884b681d684962cf545 |
File details
Details for the file fixinventory_plugin_scarf-4.1.0-py3-none-any.whl
.
File metadata
- Download URL: fixinventory_plugin_scarf-4.1.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54e08f9556326f61b144efe370abbbe5bd33ef9cd39c9a60714679de4259f0cb |
|
MD5 | 25837c875ed258053e1b268cc33d364c |
|
BLAKE2b-256 | cee382a0b6b36372defabb509c4108ff2c639b66226cd50a9968a88d39152d04 |