Skip to main content

Resoto Posthog Collector Plugin

Project description

resoto-plugin-posthog

Posthog Collector Plugin for Resoto

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

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

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

resoto-plugin-posthog-3.9.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

resoto_plugin_posthog-3.9.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for resoto-plugin-posthog-3.9.0.tar.gz
Algorithm Hash digest
SHA256 e868177bb7d628210dfed833ecf7bef0b85828cd9766fa30e2dbd825875e6d15
MD5 65274b0de9d2a31e7a3e7bcae4c9c338
BLAKE2b-256 02846f1c112e34415fe72d20899c980b5dc5fa014a42a6574d817dcdc6b5bd81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for resoto_plugin_posthog-3.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 71b7f8053a716ce5d873c75baa9a2cf12705ce6ca4d3b7517a2e00d5376196a5
MD5 4c62fec2c83fac5756c2b94cf1808e59
BLAKE2b-256 0357338e8f485da22b00f1f98f62b75e1937953bcd5b8bdfa7182ae9ec91f776

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