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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99e03a6e14c13660c567ca70767b14213fc50732b68b2cd514d3ec9257384a96 |
|
MD5 | eedd98185eeb39b17181b6158c03336a |
|
BLAKE2b-256 | c0e7f838d1c2206df94211a2c09af516f5e4f884860446cdb94c7a345983cf6c |
Close
Hashes for fixinventory_plugin_dockerhub-4.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed9eeeaaca816c3914d14080df1c8081f013b2796c16003bdd28dd888b934729 |
|
MD5 | e40fc81023efbbfc609029ee943554bf |
|
BLAKE2b-256 | b3523828daba7d1fa958ce4441d53e0b18a310a74d73b35167a28bc3fb49baaa |