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.0a4.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.0a4-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for resoto-plugin-dockerhub-3.0.0a4.tar.gz
Algorithm Hash digest
SHA256 87a6004b0809db91074771c89432d765de3557f6d16d6db4b784c8a35cf5e582
MD5 d9316c02fffbd713fbd50a8901ca6b09
BLAKE2b-256 0db655190e0a840d17dd61559697c777cba38ad856e8342ec5d91c1fd02722d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for resoto_plugin_dockerhub-3.0.0a4-py3-none-any.whl
Algorithm Hash digest
SHA256 da064461936491384d458ff7660c2a0605f58f9067a58f6ff707c32192e0096c
MD5 bc1c364155a7bcf65aaad9f5eed0c505
BLAKE2b-256 dfd26aec5a23df21ab94300500de5bedb7e8f97bca1f6ab5f633f251dae49acf

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