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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file fixinventory-plugin-posthog-4.0.1.tar.gz
.
File metadata
- Download URL: fixinventory-plugin-posthog-4.0.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1af647cc44cd8ef4132bf49242600d87c4a55576da4474b4959359dc59f8108b |
|
MD5 | 672762f4b9244e3df9cf36b8d91d8c2b |
|
BLAKE2b-256 | 3bb2dce00e2305131fa97daafc971590174e1727ff11bb530660ddcf75f83875 |
File details
Details for the file fixinventory_plugin_posthog-4.0.1-py3-none-any.whl
.
File metadata
- Download URL: fixinventory_plugin_posthog-4.0.1-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 348551dde73ed7e3829490785fb44c7461a00455a0503e63cceb2f4441b72fba |
|
MD5 | 48699faeb7379478eeab006102d59ea5 |
|
BLAKE2b-256 | 48b14fee923c0fa0fc8c4b1cfdb31cbf07749e498c16b9cd24abbddecdba2010 |