Skip to main content

A quick start demo for GreptimeCloud

Project description

Introduction

This is a quick start demo for GreptimeCloud. It collects the system metric data such as CPU and memory usage through Opentelemetry and sends the metrics to GreptimeCloud. You can view the metrics on the GreptimeCloud dashboard.

Quick Start

Use the following command line to start it in Python 3.10+ without cloning the repo:

pipx run --no-cache greptime-cloud-quick-start -e <endpoint-url> -db <dbname> -u <username> -p <password>

Or you can clone the repo and run it:

pip install -r requirements.txt
python start/main.py -e <endpoint-url> -db <dbname> -u <username> -p <password>

Release

  1. Change the version in pyproject.toml.

  2. Commit and push the changes.

  3. Create a tag with the version and push it to the remote repository.

    git tag v<major>.<minor>.<patch>
    git push origin v<major>.<minor>.<patch>
    
  4. Build and publish the package to PyPI:

    python -m build
    python -m twine upload dist/*
    

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

greptime_cloud_quick_start-1.0.2.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

greptime_cloud_quick_start-1.0.2-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file greptime_cloud_quick_start-1.0.2.tar.gz.

File metadata

File hashes

Hashes for greptime_cloud_quick_start-1.0.2.tar.gz
Algorithm Hash digest
SHA256 62f012b12dc430104dcc81d49b8996c64655ad63a952ef117aaa9b43b9711ee6
MD5 aa2f3fc9563075d44c6bb058d5ed601e
BLAKE2b-256 052691709fe7129c6e48021b46e5e79c5f48664972ec794a1f78b1fc0d2db437

See more details on using hashes here.

File details

Details for the file greptime_cloud_quick_start-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for greptime_cloud_quick_start-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d8d7b8976d972d946e3821e947f11b653a0a851560ea438c1a41e27ea62ab92d
MD5 9d61ba8c4225d4ce9e79a05ce2f8172f
BLAKE2b-256 36fa89b7ca9f5f478a7397d077927fa7e50c1aa3ec1b1bcf27fa20fe4fdb5baf

See more details on using hashes here.

Supported by

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