Skip to main content

Fix Posthog Collector Plugin

Project description

fix-plugin-posthog

Posthog Collector Plugin for Fix

This collector plugin is used to collect data from Posthog. It is used internally at Some Engineering to create metrics about fix installations and usage.

To export the number of running installations add the following config to fix.metrics

fixmetrics:
  [...]
  metrics:
    running_installations:
      # Metric help text
      help: 'Number of running installations'
      # Aggregation search to run
      search: 'aggregate(/ancestors.cloud.reported.name as cloud: sum(count) as running_installations): is(posthog_event) and name=model.info'
      # Type of metric (gauge or counter)
      type: 'gauge'

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_posthog-4.0.3.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file fixinventory_plugin_posthog-4.0.3.tar.gz.

File metadata

File hashes

Hashes for fixinventory_plugin_posthog-4.0.3.tar.gz
Algorithm Hash digest
SHA256 8c0ae3302b5a4988df58bdbe664c6a956f2b52510b973213b76ce951efdae735
MD5 89be579a67a0c43512ecf563a0706975
BLAKE2b-256 25fd0bdcdccc90aa0de9e881984e0c5ed7cb665c0d51796ec0cc73b82797e290

See more details on using hashes here.

File details

Details for the file fixinventory_plugin_posthog-4.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for fixinventory_plugin_posthog-4.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b92f83b2bd08c4a1af2b0ec4380fbf2b6b8f5c70cf8235a094e9f0ed16b5e488
MD5 8112cf05732c7fe3526d56ee631abc0d
BLAKE2b-256 95152fb3c65ea1f1f2e1e718d92c0937a941b04b85ab39d3ea89d81e2882bb73

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