Skip to main content

Crisp Status Reporter for Python.

Project description

python-crisp-status-reporter

Build and Release

Crisp Status Reporter for Python.

Crisp Status Reporter is used to actively submit health information to Crisp Status from your apps. Apps are best monitored via application probes, which are able to report detailed system information such as CPU and RAM load. This lets Crisp Status show if an application host system is under high load.

How to use?

Create reporter

crisp-status-reporter can be instantiated as such:

from crisp_status_reporter import Reporter
import logging as logger

# Build and run reporter
Reporter(
  token = "YOUR_TOKEN_SECRET",
  service_id = "d657b4c1-dd07-4f94-ac7a-d4c3b4b219c1",
  node_id = "5eca824b-4134-4126-982d-2c2338ecf3ab",
  replica_id = "192.168.1.10",
  interval = 60,
  logger = logger
)

Where can I find my token?

Your private token can be found on your Crisp dashboard. Go to Settings, then Status Page, and then scroll down to "Configure your Status Reporter". Copy the secret token shown there, and use it while configuring this library in your application.

How to add monitored node?

You can easily add a push node for the application running this library on your Crisp dashboard. Add the node, and retrieve its service_id and node_id as follows:

How to add monitored node

Get more help

You can find more help on our helpdesk article: How to setup the Crisp Status Reporter library?

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crisp-status-reporter-1.1.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

crisp_status_reporter-1.1.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file crisp-status-reporter-1.1.1.tar.gz.

File metadata

  • Download URL: crisp-status-reporter-1.1.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.14

File hashes

Hashes for crisp-status-reporter-1.1.1.tar.gz
Algorithm Hash digest
SHA256 63db6d443232588b643b9b335b697bbcc8bdb5f3bc71b9d4d85919895da67e97
MD5 3378f579eab58cab5cb0620187ad6aaa
BLAKE2b-256 c8454f7432e90208f65264fee74223f4289c31bf222ce4a67c2594f2b5726342

See more details on using hashes here.

File details

Details for the file crisp_status_reporter-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for crisp_status_reporter-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 64482779bf22bd707c46f0977fbbc500829f7c25d970f84cfa5e1113e252d28a
MD5 ff68c86ccf2c8e16c3075c386a1eb990
BLAKE2b-256 b8890489005d9d896050ae24fb92927af74a751526bdf4d621f4a8eab8ffe9f4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page