Skip to main content

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


Download files

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

Source Distribution

fixinventory_plugin_dockerhub-4.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file fixinventory_plugin_dockerhub-4.1.0.tar.gz.

File metadata

File hashes

Hashes for fixinventory_plugin_dockerhub-4.1.0.tar.gz
Algorithm Hash digest
SHA256 2cdaeac53882f027e6a49ba486864c573b90d9591f7ddeeb975153976af153b5
MD5 0f360e7737434df07b901e03b0179b7d
BLAKE2b-256 faef5cf57619740cf45f1728b2654f6a875bd3879786da32481d8c5eda486d94

See more details on using hashes here.

File details

Details for the file fixinventory_plugin_dockerhub-4.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fixinventory_plugin_dockerhub-4.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f0fee73ed5891d44ffc995523efc246c8dda840a33339375d252347d9e2ff14
MD5 71c5641e95fce8d1ff9bcc970baacf1e
BLAKE2b-256 78fc03fd0c0d9d78345323d2cbba7838f8b7078ec29a7a2f7f7703e4bfb51e7d

See more details on using hashes here.

Supported by

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