Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

resoto-plugin-dockerhub-3.0.0a3.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

resoto_plugin_dockerhub-3.0.0a3-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file resoto-plugin-dockerhub-3.0.0a3.tar.gz.

File metadata

File hashes

Hashes for resoto-plugin-dockerhub-3.0.0a3.tar.gz
Algorithm Hash digest
SHA256 0fb9d40c3faad1adfa43a7915fe22fedfdd6eb88659f595c83e9527cd8450a30
MD5 78b9b2c0aaaa394654d79314f1aa5c3e
BLAKE2b-256 549e2de11736bcdac912dc94aa1f2a8a20900157f1346e2b283d5c81c264a79a

See more details on using hashes here.

File details

Details for the file resoto_plugin_dockerhub-3.0.0a3-py3-none-any.whl.

File metadata

File hashes

Hashes for resoto_plugin_dockerhub-3.0.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 40e4e8830f03b6a0d3ec038ded3964ad53b6e6b40761f98597a381143478ed41
MD5 645a384dfb60f78c30ad4c4a78865496
BLAKE2b-256 309fcae5d3f299395788d489a048393bf630eddfaca71b9fa3b8cd6243905f7a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page