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
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 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e868177bb7d628210dfed833ecf7bef0b85828cd9766fa30e2dbd825875e6d15 |
|
MD5 | 65274b0de9d2a31e7a3e7bcae4c9c338 |
|
BLAKE2b-256 | 02846f1c112e34415fe72d20899c980b5dc5fa014a42a6574d817dcdc6b5bd81 |
File details
Details for the file resoto_plugin_posthog-3.9.0-py3-none-any.whl
.
File metadata
- Download URL: resoto_plugin_posthog-3.9.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71b7f8053a716ce5d873c75baa9a2cf12705ce6ca4d3b7517a2e00d5376196a5 |
|
MD5 | 4c62fec2c83fac5756c2b94cf1808e59 |
|
BLAKE2b-256 | 0357338e8f485da22b00f1f98f62b75e1937953bcd5b8bdfa7182ae9ec91f776 |