synapse-prometheus-exporter/pyproject.toml
Kumi 2c991a42a4
feat: fork for Synapse metrics exporter
Refactored the project from a PostgreSQL connection metrics exporter to a Synapse metrics exporter. This change addresses the need for more specific metrics related to Synapse Matrix servers, instead of the general PostgreSQL connection metrics. Updated the project name, relevant variable names, and configurations to reflect the Synapse focus. Now, the exporter provides metrics such as local users by state, type, and moderation status, total devices, rooms, events, and federation destinations. This update shifts the project's direction to support Synapse server administrators by offering detailed insights into their server's usage and performance.

No existing functionality was removed; instead, the project's aim was realigned to meet the more specialized requirements of Synapse metrics reporting. By focusing on Synapse, the exporter can offer valuable data that was not previously available through the general PostgreSQL connection metrics, potentially contributing to improved server management and user experience on the Synapse platform.
2024-05-18 11:56:47 +02:00

32 lines
No EOL
940 B
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "synapse-prometheus-exporter"
version = "0.0.1"
authors = [
{ name="Kumi Mitterer", email="synapse-prometheus-exporter@kumi.email" },
]
description = "A Prometheus exporter for Synapse metrics"
readme = "README.md"
license = { file="LICENSE" }
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
]
dependencies = [
"prometheus-client",
"psycopg2-binary",
"pyyaml",
]
[project.scripts]
synapse-prometheus-exporter = "synapse_prometheus_exporter.__main__:main"
[project.urls]
"Homepage" = "https://git.private.coffee/kumi/synapse-prometheus-exporter"
"Bug Tracker" = "https://git.private.coffee/kumi/synapse-prometheus-exporter/issues"
"Source Code" = "https://git.private.coffee/kumi/synapse-prometheus-exporter"