Skip to main content

Fix Scarf Collector Plugin

Project description

Fix 💜 Scarf

Scarf Collector Plugin for Fix

This collector plugin is used to collect data from Scarf. 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:
    scarf_downloads_total:
      # Metric help text
      help: 'Scarf downloads'
      # Aggregation search to run
      search: 'aggregate(/ancestors.cloud.reported.name as cloud, /ancestors.account.reported.name as organization, name as repository: sum(pull_count) as scarf_downloads_total): is(scarf_package)'
      # 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_scarf-4.1.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for fixinventory_plugin_scarf-4.1.0.tar.gz
Algorithm Hash digest
SHA256 09d661cd0a3e10e80d8090d3a4bc6c7dc6b3bc7ea57cff9b36fcdc252e5d5628
MD5 89f384c7558b0ac22d414fdf0e28180b
BLAKE2b-256 80dfbd1a47ac68c479321685ccca094316948fed573eb884b681d684962cf545

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fixinventory_plugin_scarf-4.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54e08f9556326f61b144efe370abbbe5bd33ef9cd39c9a60714679de4259f0cb
MD5 25837c875ed258053e1b268cc33d364c
BLAKE2b-256 cee382a0b6b36372defabb509c4108ff2c639b66226cd50a9968a88d39152d04

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