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
File details
Details for the file fixinventory_plugin_dockerhub-4.1.0.tar.gz
.
File metadata
- Download URL: fixinventory_plugin_dockerhub-4.1.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cdaeac53882f027e6a49ba486864c573b90d9591f7ddeeb975153976af153b5 |
|
MD5 | 0f360e7737434df07b901e03b0179b7d |
|
BLAKE2b-256 | faef5cf57619740cf45f1728b2654f6a875bd3879786da32481d8c5eda486d94 |
File details
Details for the file fixinventory_plugin_dockerhub-4.1.0-py3-none-any.whl
.
File metadata
- Download URL: fixinventory_plugin_dockerhub-4.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 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 | 4f0fee73ed5891d44ffc995523efc246c8dda840a33339375d252347d9e2ff14 |
|
MD5 | 71c5641e95fce8d1ff9bcc970baacf1e |
|
BLAKE2b-256 | 78fc03fd0c0d9d78345323d2cbba7838f8b7078ec29a7a2f7f7703e4bfb51e7d |