Skip to main content

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'

License

See LICENSE for details.

Metadata

Release files for resoto-plugin-dockerhub 3.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for resoto-plugin-dockerhub 3.9.0
File Size Uploaded Provenance Actions
resoto-plugin-dockerhub-3.9.0.tar.gz 3.8 kB Without provenance Details for resoto-plugin-dockerhub-3.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for resoto-plugin-dockerhub 3.9.0
File Interpreter ABI Platform Actions
resoto_plugin_dockerhub-3.9.0-py3-none-any.whl Python 3 none any Details for resoto_plugin_dockerhub-3.9.0-py3-none-any.whl

Total release size: 8.2 kB

Release files / resoto-plugin-dockerhub-3.9.0.tar.gz

Download URL resoto-plugin-dockerhub-3.9.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
aa2bdb084ca3b002a07609e77ba445c46466a84dc1a5873ac50eab3f19225205
BLAKE2b-256 checksum
How to use checksums
e30c9d4c9bbbada497e5e7389cd885b12aab3e0cc04681c3645a11512f880b5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.8

Release files / resoto_plugin_dockerhub-3.9.0-py3-none-any.whl

Download URL resoto_plugin_dockerhub-3.9.0-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98b1e2db75ae861321d0427f973fe6305fa0ba4c04dac1954920e0a8affbbf91
BLAKE2b-256 checksum
How to use checksums
8720d636e82344205e3ee7236ceceb37a3c3ca3b5658ac58f555761f477fea2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.8

Security for resoto-plugin-dockerhub 3.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.9.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page