Fix Docker Hub Collector Plugin
Project description
fix-plugin-dockerhub
Docker Hub Collector Plugin for Fix
This collector plugin is used to collect data from Docker Hub. 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:
dockerhub_downloads_total:
# Metric help text
help: 'Docker Hub downloads'
# Aggregation search to run
search: 'aggregate(/ancestors.cloud.reported.name as cloud, /ancestors.account.reported.name as namespace, id as repository: sum(pull_count) as dockerhub_downloads_total): is(dockerhub_repository)'
# 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-dockerhub-4.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f40289fb83f581515296cf972639fdda9b69932ce55fb524e5ea9d4fd484b0f4 |
|
MD5 | c25ab212a0cfc6ac51099f1b253a2abe |
|
BLAKE2b-256 | ecfa3402af71153b9faa4e2c5b368716dc00c874f84fd28413e621b222ada84a |
Close
Hashes for fixinventory_plugin_dockerhub-4.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cc2cddcc5802dbe071e783191a064ba7f4de038f9789c17bedf74a0ff10d5b5 |
|
MD5 | 847761e9e0e2d0618a01bcc6d8531e31 |
|
BLAKE2b-256 | 32def91127965e9177203fcda7186306b53a0f6aebeb72911c04fc2fdd3fbe3d |