Skip to main content

Resoto Scarf Collector Plugin

Project description

Resoto 💜 Scarf

Scarf Collector Plugin for Resoto

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 resoto.metrics

resotometrics:
  [...]
  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'

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-scarf-3.3.3.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

resoto_plugin_scarf-3.3.3-py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 3

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