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'

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

resoto-plugin-scarf-3.9.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

resoto_plugin_scarf-3.9.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file resoto-plugin-scarf-3.9.0.tar.gz.

File metadata

  • Download URL: resoto-plugin-scarf-3.9.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for resoto-plugin-scarf-3.9.0.tar.gz
Algorithm Hash digest
SHA256 e45ba356adfef2d6c1ad1acfe7df16b724fb8718b20ef296e44e735fc982dd9c
MD5 808b2778eab8b1ff4fef4c28958eb034
BLAKE2b-256 ca318631bffbeef970af266f092c7ce0a01334dbec0056f647d7dd7ece94a53a

See more details on using hashes here.

File details

Details for the file resoto_plugin_scarf-3.9.0-py3-none-any.whl.

File metadata

File hashes

Hashes for resoto_plugin_scarf-3.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4b70676b690efea0dd5a822b953d8ee1e88ae2dc42d4de1f5c2ee4b30c78e6a4
MD5 e2a3878ae0cddf2191a74822df497601
BLAKE2b-256 ca375de7e4f30e4b3b1db8a8297f2d203af8b99e4ad52988a9358deca9d529b4

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