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.1.0.tar.gz
.
File metadata
- Download URL: fixinventory_plugin_posthog-4.1.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9578a32938fa426c775476afdaed0de84b646a9d76721ed7aa062b163b408027 |
|
MD5 | 6681f93495c2d60ea8b19a25555223df |
|
BLAKE2b-256 | 5379be2ea5af5a03d8113bd49369698f5620df4403c3105a82ded2fee92d3373 |
File details
Details for the file fixinventory_plugin_posthog-4.1.0-py3-none-any.whl
.
File metadata
- Download URL: fixinventory_plugin_posthog-4.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 463996e7b68e03d134132b328a439e38150196aff060fed54ea802c3ef2a5245 |
|
MD5 | 7b33fa9b366e5084e09c38beadf11ce9 |
|
BLAKE2b-256 | 67c4ac75c05676bc715fb63e2943300889ffd65f4aff6855d1df75d40d00da81 |