Resoto Docker Hub Collector Plugin
Project description
resoto-plugin-dockerhub
Docker Hub Collector Plugin for Resoto
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 resoto.metrics
resotometrics:
[...]
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'
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file resoto-plugin-dockerhub-3.0.0a3.tar.gz.
File metadata
- Download URL: resoto-plugin-dockerhub-3.0.0a3.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fb9d40c3faad1adfa43a7915fe22fedfdd6eb88659f595c83e9527cd8450a30
|
|
| MD5 |
78b9b2c0aaaa394654d79314f1aa5c3e
|
|
| BLAKE2b-256 |
549e2de11736bcdac912dc94aa1f2a8a20900157f1346e2b283d5c81c264a79a
|
File details
Details for the file resoto_plugin_dockerhub-3.0.0a3-py3-none-any.whl.
File metadata
- Download URL: resoto_plugin_dockerhub-3.0.0a3-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40e4e8830f03b6a0d3ec038ded3964ad53b6e6b40761f98597a381143478ed41
|
|
| MD5 |
645a384dfb60f78c30ad4c4a78865496
|
|
| BLAKE2b-256 |
309fcae5d3f299395788d489a048393bf630eddfaca71b9fa3b8cd6243905f7a
|