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.2.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

fixinventory_plugin_scarf-4.2.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fixinventory_plugin_scarf-4.2.0.tar.gz
Algorithm Hash digest
SHA256 78794561fb12f9844f6441cde30da766e2987515db749913bf331d39cd20d605
MD5 fea7888358dd92a88645743c2377fb06
BLAKE2b-256 e6f845bcace21eb19392a22c0688b446869177e2c59be6d0ab040cabb06ebe18

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fixinventory_plugin_scarf-4.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8b309541ab7348a6e1dc6de21c767cf2f8672dc6025a097c1be18310b2258e0b
MD5 763ef10cb8e9103e5cc2ef6fa83babbd
BLAKE2b-256 94bd54f087334b0481c132b5d9f1b409d2ca0682160ab6d882ccf592d1f8f55e

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