Skip to content

GreptimeCloud quick-start example using Python and its OpenTelemetry SDK

License

Notifications You must be signed in to change notification settings

GreptimeCloudStarters/quick-start-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/*

About

GreptimeCloud quick-start example using Python and its OpenTelemetry SDK

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages