uptime-reporting
Service Uptime reporting tool, designed around uptime checks and leveraging tags to organize checks in the report.
Currently supports Pingdom and UptimeRobot for data collection.
Key features:
- uses the service API to gather uptime statistics for the time range of choice (weekly, monthly, custom)
- tags grouping capability with aggregated stats per tags, to make reports more structured and readable
- inclusion/exclusion of checks from the reports based on their id, tags or status
- terminal-friendly on-screen report generation or Jinja-based report templating to output in HTML, PDF, XML, etc.
How to install
Requires Python => 3.7
pip install uptime-reporting
or with docker
docker pull giacomolozito/uptime-reporting
Usage
On-screen report of all checks for last week:
uptime-reporting --service pingdom --token XYZ --report weekly --date last
On-screen report of all checks for Jan 2020 (any date within that month causes the month to be selected):
uptime-reporting --service pingdom --token XYZ --report monthly --date 2020-01-01
HTML-based report of all checks for a custom date range, written to file report.html:
uptime-reporting --service pingdom --token XYZ --report range --date 2020-02-01_2020-03-15 \
--report-format jinja --report-jinja-template html --report-filename report.html
On-screen report with terminal colors, excluding certain tags and checks from the report:
uptime-reporting --service pingdom --token XYZ --report weekly --date last --tags-exclude foo,bar \
--checks-exclude 123456,123457 --report-format text --report-text-colors
Report grouping checks by product and for each product by client-facing vs internal endpoint (based on tags):
uptime-reporting --service pingdom --token XYZ --report weekly --date last --tags-grouping "productA,productB|client-facing,internal" \
--report-format jinja -report-jinja-template html --report-filename report.html
The examples above are valid with any of the supported uptime services, by changing the --service parameter accordingly.
See Parameters, Tags Grouping, Template Writing and Service-Specific Notes docs for in-depth explanation.
Understanding Tag Grouping is especially important for well-organized reports.
Disclaimer
This is an open source tool released under GPLv3, in the hope it will be useful.
It is not endorsed by Pingdom, UptimeRobot or any other organization.
Metadata
Release files for uptime-reporting 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| uptime-reporting-0.2.0.tar.gz | 34.8 kB | Without provenance | Details for uptime-reporting-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| uptime_reporting-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for uptime_reporting-0.2.0-py3-none-any.whl |
Total release size: 93.1 kB
Release files / uptime-reporting-0.2.0.tar.gz
| Download URL | uptime-reporting-0.2.0.tar.gz |
|---|---|
| Size | 34.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae040afb063245c62e24dc5b0ddda4002fdfa53158097e149bafdc6a3f1b3445
|
|
BLAKE2b-256 checksum How to use checksums |
832e589b9bb7291010fe487c0a87cd65802c169d3317090cc86c9466db0f6caf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|
Release files / uptime_reporting-0.2.0-py3-none-any.whl
| Download URL | uptime_reporting-0.2.0-py3-none-any.whl |
|---|---|
| Size | 58.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c1e80e49c9c582871c62f9d253b5ef3e8311607cc28fe2135cb84588f135feaa
|
|
BLAKE2b-256 checksum How to use checksums |
c1d414ef01c7eaa09840717d2dbe9d500edbc1fe028fe47a212ae20d70713847
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|
Security for uptime-reporting 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.